You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Return type mixed of method Bug7652\Options::offsetGet() is not covariant with tentative return type mixed of method ArrayAccess::offsetGet().',
388
+
'Return type mixed of method Bug7652\Options::offsetGet() is not covariant with tentative return type mixed of method ArrayAccess<key-of<TArray of array>,value-of<TArray of array>>::offsetGet().',
388
389
23,
389
390
'Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.',
@@ -84,7 +85,7 @@ public function testOverridingFinalMethod(int $phpVersion, string $contravariant
84
85
115,
85
86
],
86
87
[
87
-
'Parameter #1 $size (int) of method OverridingFinalMethod\FixedArray::setSize() is not ' . $contravariantMessage . ' with parameter #1 $size (mixed) of method SplFixedArray::setSize().',
88
+
'Parameter #1 $size (int) of method OverridingFinalMethod\FixedArray::setSize() is not ' . $contravariantMessage . ' with parameter #1 $size (mixed) of method SplFixedArray<mixed>::setSize().',
88
89
125,
89
90
],
90
91
[
@@ -120,7 +121,7 @@ public function testOverridingFinalMethod(int $phpVersion, string $contravariant
120
121
280,
121
122
],
122
123
[
123
-
'Parameter #1 $index (int) of method OverridingFinalMethod\FixedArrayOffsetExists::offsetExists() is not ' . $contravariantMessage . ' with parameter #1 $offset (mixed) of method ArrayAccess::offsetExists().',
124
+
'Parameter #1 $index (int) of method OverridingFinalMethod\FixedArrayOffsetExists::offsetExists() is not ' . $contravariantMessage . ' with parameter #1 $offset (mixed) of method ArrayAccess<int,mixed>::offsetExists().',
124
125
313,
125
126
],
126
127
];
@@ -472,37 +473,37 @@ public function dataTentativeReturnTypes(): array
472
473
80100,
473
474
[
474
475
[
475
-
'Return type mixed of method TentativeReturnTypes\Foo::getIterator() is not covariant with tentative return type Traversable of method IteratorAggregate::getIterator().',
476
+
'Return type mixed of method TentativeReturnTypes\Foo::getIterator() is not covariant with tentative return type Traversable of method IteratorAggregate<mixed,mixed>::getIterator().',
476
477
8,
477
478
'Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.',
478
479
],
479
480
[
480
-
'Return type string of method TentativeReturnTypes\Lorem::getIterator() is not covariant with tentative return type Traversable of method IteratorAggregate::getIterator().',
481
+
'Return type string of method TentativeReturnTypes\Lorem::getIterator() is not covariant with tentative return type Traversable of method IteratorAggregate<mixed,mixed>::getIterator().',
481
482
40,
482
483
'Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.',
483
484
],
484
485
[
485
-
'Return type mixed of method TentativeReturnTypes\UntypedIterator::current() is not covariant with tentative return type mixed of method Iterator::current().',
486
+
'Return type mixed of method TentativeReturnTypes\UntypedIterator::current() is not covariant with tentative return type mixed of method Iterator<mixed,mixed>::current().',
486
487
75,
487
488
'Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.',
488
489
],
489
490
[
490
-
'Return type mixed of method TentativeReturnTypes\UntypedIterator::next() is not covariant with tentative return type void of method Iterator::next().',
491
+
'Return type mixed of method TentativeReturnTypes\UntypedIterator::next() is not covariant with tentative return type void of method Iterator<mixed,mixed>::next().',
491
492
79,
492
493
'Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.',
493
494
],
494
495
[
495
-
'Return type mixed of method TentativeReturnTypes\UntypedIterator::key() is not covariant with tentative return type mixed of method Iterator::key().',
496
+
'Return type mixed of method TentativeReturnTypes\UntypedIterator::key() is not covariant with tentative return type mixed of method Iterator<mixed,mixed>::key().',
496
497
83,
497
498
'Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.',
498
499
],
499
500
[
500
-
'Return type mixed of method TentativeReturnTypes\UntypedIterator::valid() is not covariant with tentative return type bool of method Iterator::valid().',
501
+
'Return type mixed of method TentativeReturnTypes\UntypedIterator::valid() is not covariant with tentative return type bool of method Iterator<mixed,mixed>::valid().',
501
502
87,
502
503
'Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.',
503
504
],
504
505
[
505
-
'Return type mixed of method TentativeReturnTypes\UntypedIterator::rewind() is not covariant with tentative return type void of method Iterator::rewind().',
506
+
'Return type mixed of method TentativeReturnTypes\UntypedIterator::rewind() is not covariant with tentative return type void of method Iterator<mixed,mixed>::rewind().',
506
507
91,
507
508
'Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.',
0 commit comments