Skip to content

Commit 92dace2

Browse files
authored
Suppress PHP8.1 notice
1 parent 629faf3 commit 92dace2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Traits/SerializableTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ trait SerializableTrait
2525
*
2626
* @return string|false
2727
*/
28+
#[\ReturnTypeWillChange]
2829
public function toJSON(array $except = [], int $options = 0, int $depth = 512)
2930
{
3031
if ($depth < 1) {

0 commit comments

Comments
 (0)