We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da561a5 commit e557c05Copy full SHA for e557c05
Doctrine/Phpcr/PrefixCandidates.php
@@ -87,7 +87,7 @@ public function isCandidate($name)
87
public function restrictQuery($queryBuilder)
88
{
89
$prefixes = $this->getPrefixes();
90
- if (array_search('', $prefixes) || !count($prefixes)) {
+ if (in_array('', $prefixes) || !count($prefixes)) {
91
return;
92
}
93
0 commit comments