File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -798,6 +798,7 @@ public function offsetExists($offset)
798798 *
799799 * @see \JsonSerializable
800800 */
801+ #[\ReturnTypeWillChange]
801802 public function jsonSerialize ()
802803 {
803804 return (object ) $ this ->toArray ();
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ public function toArray(): array
142142 *
143143 * @psalm-return array{key: TKey, value: TValue}
144144 */
145+ #[\ReturnTypeWillChange]
145146 public function jsonSerialize ()
146147 {
147148 return $ this ->toArray ();
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ public function isEmpty(): bool
2727 *
2828 * @see \JsonSerializable
2929 */
30+ #[\ReturnTypeWillChange]
3031 public function jsonSerialize ()
3132 {
3233 return $ this ->toArray ();
You can’t perform that action at this time.
0 commit comments