Skip to content

Commit 80a4a68

Browse files
committed
[Psalm] Fix cond. pure plugin.
1 parent f7ee2e1 commit 80a4a68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Fp/Psalm/Hook/AfterExpressionAnalysis/ConditionallyPureAnalyzer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,9 @@ public static function getInImmutableContextPureSet(): Set
255255

256256
if (is_null($whiteList)) {
257257
$whiteList = HashSet::collect([
258-
'Fp\Callable\asGenerator',
258+
'Fp\Cast\asGenerator',
259+
'Fp\Cast\asPairs',
260+
'Fp\Cast\asPairsGenerator',
259261
]);
260262
}
261263

0 commit comments

Comments
 (0)