@@ -734,6 +734,7 @@ public function xor(Map $map): Map
734734 /**
735735 * @inheritDoc
736736 */
737+ #[\ReturnTypeWillChange]
737738 public function getIterator ()
738739 {
739740 foreach ($ this ->pairs as $ pair ) {
@@ -754,6 +755,7 @@ public function __debugInfo()
754755 /**
755756 * @inheritdoc
756757 */
758+ #[\ReturnTypeWillChange]
757759 public function offsetSet ($ offset , $ value )
758760 {
759761 $ this ->put ($ offset , $ value );
@@ -764,6 +766,7 @@ public function offsetSet($offset, $value)
764766 *
765767 * @throws OutOfBoundsException
766768 */
769+ #[\ReturnTypeWillChange]
767770 public function &offsetGet ($ offset )
768771 {
769772 $ pair = $ this ->lookupKey ($ offset );
@@ -777,6 +780,7 @@ public function &offsetGet($offset)
777780 /**
778781 * @inheritdoc
779782 */
783+ #[\ReturnTypeWillChange]
780784 public function offsetUnset ($ offset )
781785 {
782786 $ this ->remove ($ offset , null );
@@ -785,6 +789,7 @@ public function offsetUnset($offset)
785789 /**
786790 * @inheritdoc
787791 */
792+ #[\ReturnTypeWillChange]
788793 public function offsetExists ($ offset )
789794 {
790795 return $ this ->get ($ offset , null ) !== null ;
0 commit comments