Skip to content

Commit

Permalink
Ensure lowercased slugs, for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter authored Nov 8, 2021
1 parent 99d2fab commit 78b2efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public static function shyphenate(string $str): string
private static function getSlugify(): Slugify
{
if (self::$slugifyInstance === null) {
self::$slugifyInstance = Slugify::create();
self::$slugifyInstance = Slugify::create(['lowercase' => true]);
}

return self::$slugifyInstance;
Expand Down

0 comments on commit 78b2efe

Please sign in to comment.