🆙 More fixes 🆙

This commit is contained in:
Remco
2026-01-19 21:29:36 +01:00
parent 78cf4f81f6
commit 1e51ca4bd8
7 changed files with 16 additions and 10 deletions
@@ -10,15 +10,13 @@ use JsonSerializable;
class OnlineUsersResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @return array|Arrayable|JsonSerializable
* @return array<string, mixed>
*/
#[\Override]
public function toArray(Request $request): array
{
return [
'data' => $this->paginate(10),
'data' => $this->resource,
];
}
}