Small code cleanup.

This commit is contained in:
James Cole
2023-12-23 06:22:47 +01:00
parent 581e5d7330
commit ca8f153c6a
7 changed files with 83 additions and 51 deletions

View File

@@ -88,7 +88,7 @@ class Controller extends BaseController
/**
* Returns a JSON API object and returns it.
*
* @param Model $object
* @param array<int, mixed>|Model $object
*/
final protected function jsonApiObject(string $key, array|Model $object, AbstractTransformer $transformer): array
{