Skip to content

Commit

Permalink
fix: remove typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocksheep committed Oct 15, 2024
1 parent 0a950db commit a50d168
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 a50d168

Please sign in to comment.