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 d089af9 commit bc11222Copy full SHA for bc11222
src/Type/BeberleiAssert/AssertHelper.php
@@ -397,9 +397,9 @@ private static function getExpressionResolvers(): array
397
new Name('property_exists'),
398
[$object, $property],
399
),
400
- 'methodExists' => static fn (Scope $scope, Arg $object, Arg $property): Expr => new FuncCall(
+ 'methodExists' => static fn (Scope $scope, Arg $object, Arg $method): Expr => new FuncCall(
401
new Name('method_exists'),
402
- [$object, $property],
+ [$object, $method],
403
404
'classExists' => static fn (Scope $scope, Arg $value): Expr => new FuncCall(
405
new Name('class_exists'),
0 commit comments