Skip to content

Commit 446f32f

Browse files
Fix
1 parent 0411ad9 commit 446f32f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Type/IntersectionType.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,10 +1266,9 @@ private function intersectResults(
12661266
}
12671267

12681268
/**
1269-
* @param callable(Type $type): Type $getType
1270-
* @param (callable(Type $type): Type)|null $filter
1269+
* @param callable(Type $type): Type $getType
12711270
*/
1272-
private function intersectTypes(callable $getType, ?callable $filter = null): Type
1271+
private function intersectTypes(callable $getType): Type
12731272
{
12741273
$operands = array_map($getType, $this->types);
12751274
return TypeCombinator::intersect(...$operands);

0 commit comments

Comments
 (0)