We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0411ad9 commit 446f32fCopy full SHA for 446f32f
src/Type/IntersectionType.php
@@ -1266,10 +1266,9 @@ private function intersectResults(
1266
}
1267
1268
/**
1269
- * @param callable(Type $type): Type $getType
1270
- * @param (callable(Type $type): Type)|null $filter
+ * @param callable(Type $type): Type $getType
1271
*/
1272
- private function intersectTypes(callable $getType, ?callable $filter = null): Type
+ private function intersectTypes(callable $getType): Type
1273
{
1274
$operands = array_map($getType, $this->types);
1275
return TypeCombinator::intersect(...$operands);
0 commit comments