Skip to content

Commit

Permalink
cs-fix AtomicMethodCallAnalyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
issidorov committed Aug 26, 2024
1 parent 40ebb1e commit 2e6ca9c
Showing 1 changed file with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -860,21 +860,21 @@ private static function handleTemplatedMixins(
$mixin_class_storage,
$method_exists, $naive_method_exists,
$new_method_id,
$mixin_fq_class_name
$mixin_fq_class_name,
] = self::handleMixins(
$mixin_class_storage,
$lhs_type_part_new,
$method_name_lc,
$codebase,
$context,
$new_method_id,
$source,
$stmt,
$statements_analyzer,
$mixin_fq_class_name,
$lhs_var_id,
$ignore_mixins,
);
$mixin_class_storage,
$lhs_type_part_new,
$method_name_lc,
$codebase,
$context,
$new_method_id,
$source,
$stmt,
$statements_analyzer,
$mixin_fq_class_name,
$lhs_var_id,
$ignore_mixins,

Check failure on line 876 in src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/AtomicMethodCallAnalyzer.php

View workflow job for this annotation

GitHub Actions / build

MixedArgumentTypeCoercion

src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/AtomicMethodCallAnalyzer.php:876:37: MixedArgumentTypeCoercion: Argument 12 of Psalm\Internal\Analyzer\Statements\Expression\Call\Method\AtomicMethodCallAnalyzer::handleMixins expects array<array-key, string>, but parent type list{string, ...<mixed>} provided (see https://psalm.dev/194)
);
}

if ($method_exists) {
Expand Down Expand Up @@ -1000,21 +1000,21 @@ private static function handleRegularMixins(
$method_exists,
$naive_method_exists,
$new_method_id,
$mixin_fq_class_name
$mixin_fq_class_name,
] = self::handleMixins(
$mixin_class_storage,
$mixin_lhs_type_part,
$method_name_lc,
$codebase,
$context,
$new_method_id,
$source,
$stmt,
$statements_analyzer,
$mixin_fq_class_name,
$lhs_var_id,
$ignore_mixins,
);
$mixin_class_storage,
$mixin_lhs_type_part,
$method_name_lc,
$codebase,
$context,
$new_method_id,
$source,
$stmt,
$statements_analyzer,
$mixin_fq_class_name,
$lhs_var_id,
$ignore_mixins,

Check failure on line 1016 in src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/AtomicMethodCallAnalyzer.php

View workflow job for this annotation

GitHub Actions / build

MixedArgumentTypeCoercion

src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/AtomicMethodCallAnalyzer.php:1016:21: MixedArgumentTypeCoercion: Argument 12 of Psalm\Internal\Analyzer\Statements\Expression\Call\Method\AtomicMethodCallAnalyzer::handleMixins expects array<array-key, string>, but parent type list{string, ...<mixed>} provided (see https://psalm.dev/194)
);
}

if ($method_exists) {
Expand Down

0 comments on commit 2e6ca9c

Please sign in to comment.