Skip to content

Commit 6ef6e18

Browse files
[Templating][String][Stopwatch] add union types
1 parent 7113bea commit 6ef6e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Slugger/AsciiSlugger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function __construct(string $defaultLocale = null, array|\Closure|null $s
7575
/**
7676
* {@inheritdoc}
7777
*/
78-
public function setLocale($locale)
78+
public function setLocale(string $locale)
7979
{
8080
$this->defaultLocale = $locale;
8181
}

0 commit comments

Comments
 (0)