Skip to content

Commit

Permalink
Update message
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Feb 12, 2024
1 parent 197c236 commit 467e29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sprinkle/SprinkleManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected function validateClassIsRecipe(string $class): SprinkleRecipe

// Class must be an instance of SprinkleRecipe
if (!$instance instanceof SprinkleRecipe) {
throw new BadInstanceOfException("Class $class is not a valid SprinkleRecipe");
throw new BadInstanceOfException("Class $class is not a valid instance of " . SprinkleRecipe::class);
}

return $instance;
Expand Down

0 comments on commit 467e29f

Please sign in to comment.