Skip to content

Commit e38d6f0

Browse files
authored
Fix PHP 8 deprecation notice (#331)
When using the project with PHP 8, you get the following notice: ``` PHP Deprecated: Required parameter $options follows optional parameter $qchars in vendor\greenlion\php-sql-parser\src\PHPSQLParser\utils\ExpressionToken.php on line 59 ```
1 parent d534d36 commit e38d6f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PHPSQLParser/utils/ExpressionToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getToken($idx = false) {
5656
return $idx !== false ? $this->token[$idx] : $this->token;
5757
}
5858

59-
public function setNoQuotes($token, $qchars = null, Options $options) {
59+
public function setNoQuotes($token, $qchars, Options $options) {
6060
$this->noQuotes = ($token === null) ? null : $this->revokeQuotation($token, $options);
6161
}
6262

0 commit comments

Comments
 (0)