We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c3abe3 commit f1af2b7Copy full SHA for f1af2b7
src/json/JsonReference.php
@@ -126,6 +126,7 @@ public function getReference(): string
126
* @return mixed data which can be serialized by <b>json_encode</b>,
127
* which is a value of any type other than a resource.
128
*/
129
+ #[\ReturnTypeWillChange]
130
public function jsonSerialize()
131
{
132
return (object)['$ref' => $this->getReference()];
0 commit comments