Skip to content

Commit e5922fc

Browse files
committed
Add ArrayValue to searchForAutocompleting N1ebieski#7
1 parent 31a2a67 commit e5922fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Parsers/ArrayCreationExpressionParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private function isParentNode(Node $node, string $nodeClass): bool
3232
public function parse(ArrayCreationExpression $node)
3333
{
3434
// If array is inside a method, for example Validator::validate(['
35-
// then we need to ignore autocompleting for ArrayValue because
35+
// then we need to ignore findable for ArrayValue because
3636
// priority is given to App\Contexts\MethodCall
3737
if (!$this->isParentNode($node, CallExpression::class)) {
3838
$this->context->findable = true;

0 commit comments

Comments
 (0)