Skip to content

Commit

Permalink
Merge pull request doctrine#10332 from greg0ire/drop-lexer-2
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Oct 10, 2023
2 parents 2cf0c59 + 75bff1d commit 1fe0910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"doctrine/event-manager": "^1.2 || ^2",
"doctrine/inflector": "^1.4 || ^2.0",
"doctrine/instantiator": "^1.3 || ^2",
"doctrine/lexer": "^2.1 || ^3",
"doctrine/lexer": "^3",
"doctrine/persistence": "^3.1.1",
"psr/cache": "^1 || ^2 || ^3",
"symfony/console": "^5.4 || ^6.0 || ^7.0",
Expand Down
3 changes: 1 addition & 2 deletions lib/Doctrine/ORM/Query/Lexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ protected function getNonCatchablePatterns(): array
return ['\s+', '--.*', '(.)'];
}

/** @param string $value */
protected function getType(&$value): TokenType
protected function getType(string &$value): TokenType
{
$type = TokenType::T_NONE;

Expand Down

0 comments on commit 1fe0910

Please sign in to comment.