Skip to content

Commit 25184ce

Browse files
author
michael19
committed
#17725 fix test override_static_type_with_self_in_final_class_with_union_types.phpt
1 parent 8740b58 commit 25184ce

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Zend/tests/type_declarations/variance/override_static_with_self/override_static_type_with_self_in_final_class_with_union_types.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ interface A
1919
final class B implements A
2020
{
2121
public function methodScalar(): self { return $this; }
22-
public function methodScalar10(): self|int { return $this; }
23-
public function methodScalar15(): self { return $this; }
2422
public function methodIterable1(): self|iterable { return $this; }
2523
public function methodIterable2(): array { return []; }
2624
public function methodObject1(): self { return $this; }

0 commit comments

Comments
 (0)