diff --git a/Eloquent/Model.php b/Eloquent/Model.php index 87738e8d1..52ad4051d 100644 --- a/Eloquent/Model.php +++ b/Eloquent/Model.php @@ -1539,9 +1539,9 @@ public function toJson($options = 0) /** * Convert the object into something JSON serializable. * - * @return array + * @return mixed */ - public function jsonSerialize(): array + public function jsonSerialize(): mixed { return $this->toArray(); }