From 7b6136ca9ea5878c7ca02ee6256fcdc408a496fb Mon Sep 17 00:00:00 2001 From: Tom Swinkels Date: Wed, 15 Nov 2023 16:31:28 +0100 Subject: [PATCH] Update Statement.php NOTICE: PHP message: PHP Deprecated: Required parameter $statementType follows optional parameter $parameters in /var/www/html/vendor/graphaware/neo4j-common/src/Cypher/Statement.php on line 42 --- src/Cypher/Statement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cypher/Statement.php b/src/Cypher/Statement.php index f7e3490..5d756f8 100644 --- a/src/Cypher/Statement.php +++ b/src/Cypher/Statement.php @@ -39,7 +39,7 @@ class Statement implements StatementInterface * @param string|null $tag * @param StatementType */ - private function __construct($text, array $parameters = array(), $tag = null, StatementType $statementType) + private function __construct($text, array $parameters = array(), $tag = null, StatementType $statementType = null) { $this->text = (string) $text; $this->parameters = $parameters;