We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbca887 commit e47c8feCopy full SHA for e47c8fe
src/Models/Url.php
@@ -53,7 +53,7 @@ public function related(): MorphTo
53
public static function makeSlug(string $slug, Model $model): string
54
{
55
if (! $slug) {
56
- throw new Exception('Slug cannot be empty for model ' . get_class($model). ' with id ' . $model->getQueueableId());
+ throw new Exception('Slug cannot be empty for model ' . get_class($model). ' with id ' . $model->getQueueableId());
57
}
58
$where = $model->only(['id', 'type']);
59
$where['type'] = $model::class;
0 commit comments