data = $data; } #[ReturnTypeWillChange] public function jsonSerialize() { return $this->data; } }