Skip to content

Commit 75ed109

Browse files
committed
[CLEANUP] Drop an unnecessary in_array
1 parent 5e5e2a5 commit 75ed109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/RepositoryFindAllDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function isMethodSupported(
2929
MethodReflection $methodReflection
3030
): bool
3131
{
32-
return in_array($methodReflection->getName(), ['findAll'], true);
32+
return $methodReflection->getName() === 'findAll';
3333
}
3434

3535
public function getTypeFromMethodCall(

0 commit comments

Comments
 (0)