Skip to content

Commit b2b50d2

Browse files
committed
Merge branch '8.x'
# Conflicts: # CHANGELOG-8.x.md # src/Illuminate/Foundation/Application.php
2 parents 16bd112 + f9311a3 commit b2b50d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Traits/EnumeratesValues.php

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Illuminate\Support\Enumerable;
1313
use Illuminate\Support\HigherOrderCollectionProxy;
1414
use JsonSerializable;
15+
use ReturnTypeWillChange;
1516
use Symfony\Component\VarDumper\VarDumper;
1617
use Traversable;
1718

@@ -802,6 +803,7 @@ public function toArray()
802803
*
803804
* @return array
804805
*/
806+
#[ReturnTypeWillChange]
805807
public function jsonSerialize()
806808
{
807809
return array_map(function ($value) {

0 commit comments

Comments
 (0)