Skip to content

Commit 57aa727

Browse files
committed
fix
1 parent 112d316 commit 57aa727

2 files changed

Lines changed: 1 addition & 21 deletions

File tree

‎rules-tests/Php81/Rector/Array_/ArrayToFirstClassCallableRector/Fixture/skip_as_arg_value_with_caller_param_type_array.php.inc‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎src/NodeCollector/NodeAnalyzer/ArrayCallableMethodMatcher.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ public function match(
7272
return null;
7373
}
7474

75-
if ($array->getAttribute(AttributeKey::IS_ARG_VALUE) === true && (bool) $array->getAttribute(
76-
AttributeKey::IS_ARG_VALUE_FACTORY_SERVICECONFIGURATOR
77-
) === false) {
75+
if ($array->getAttribute(AttributeKey::IS_ARG_VALUE_FACTORY_SERVICECONFIGURATOR) === true) {
7876
return null;
7977
}
8078

0 commit comments

Comments
 (0)