From a50d168f76d84d9bbdcd3ae1c014b9d05eee1c3a Mon Sep 17 00:00:00 2001 From: marinusvanvelzen Date: Mon, 2 Oct 2023 16:23:29 +0200 Subject: [PATCH] fix: remove typo --- src/ResourceContainer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceContainer.php b/src/ResourceContainer.php index 481f3b8..e52056f 100644 --- a/src/ResourceContainer.php +++ b/src/ResourceContainer.php @@ -34,7 +34,7 @@ public function resource($model): JsonApiResource $resource = $this->resources[$fqn]->first(); if (!$resource) { - throw new \RuntimeException(sprintfz('No resource found for model [%s], make sure your database is seeded!', $fqn)); + throw new \RuntimeException(sprintf('No resource found for model [%s], make sure your database is seeded!', $fqn)); } return $resource;