Skip to content

Commit bc7920e

Browse files
committed
Add default case to make cursor happy
1 parent 95847a3 commit bc7920e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Fieldtypes/SeoProPreviews.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ private function getRouteString(): string
3535
$item instanceof \Statamic\Contracts\Entries\Entry => $item->route(),
3636
$item instanceof \Statamic\Contracts\Entries\Collection => $item->route(Site::selected()->handle()),
3737
$item instanceof \Statamic\Contracts\Taxonomies\Taxonomy, $item instanceof \Statamic\Contracts\Taxonomies\Term => '{{ slug }}',
38+
default => '',
3839
};
3940

4041
return Str::of($route)

0 commit comments

Comments
 (0)