Skip to content

Commit d51ed98

Browse files
committed
change union type to intersectional type
1 parent 9d068c9 commit d51ed98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Rules/Methods/data/missing-method-return-typehint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function doFoo(): callable
106106
class IterableIntersection
107107
{
108108

109-
/** @return FooInterface[]|\Traversable<array-key, FooInterface> */
109+
/** @return FooInterface[]&\Traversable<array-key, FooInterface> */
110110
public function doFoo(): \Traversable
111111
{
112112

0 commit comments

Comments
 (0)