Skip to content

Commit f1af2b7

Browse files
author
Patrik Foldes
committed
fix deprecation
1 parent 8c3abe3 commit f1af2b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/json/JsonReference.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public function getReference(): string
126126
* @return mixed data which can be serialized by <b>json_encode</b>,
127127
* which is a value of any type other than a resource.
128128
*/
129+
#[\ReturnTypeWillChange]
129130
public function jsonSerialize()
130131
{
131132
return (object)['$ref' => $this->getReference()];

0 commit comments

Comments
 (0)