Skip to content

Commit

Permalink
fix: remove typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocksheep committed Nov 12, 2024
1 parent dc93a36 commit 2cb846b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResourceContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2cb846b

Please sign in to comment.