Skip to content

Commit

Permalink
Merge pull request #43 from bolt/fix/lowercase-slugs
Browse files Browse the repository at this point in the history
Ensure lowercased slugs, for consistency
  • Loading branch information
bobdenotter authored Nov 8, 2021
2 parents 99d2fab + 78b2efe commit 754b350
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 754b350

Please sign in to comment.