Skip to content

Commit bc11222

Browse files
author
Emil Masiakowski
committed
Fix parameter name
1 parent d089af9 commit bc11222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Type/BeberleiAssert/AssertHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,9 @@ private static function getExpressionResolvers(): array
397397
new Name('property_exists'),
398398
[$object, $property],
399399
),
400-
'methodExists' => static fn (Scope $scope, Arg $object, Arg $property): Expr => new FuncCall(
400+
'methodExists' => static fn (Scope $scope, Arg $object, Arg $method): Expr => new FuncCall(
401401
new Name('method_exists'),
402-
[$object, $property],
402+
[$object, $method],
403403
),
404404
'classExists' => static fn (Scope $scope, Arg $value): Expr => new FuncCall(
405405
new Name('class_exists'),

0 commit comments

Comments
 (0)