Skip to content

Commit

Permalink
Remove PHP 8.4 deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
frkcn committed Feb 27, 2025
1 parent 25a86f7 commit f176513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MultilingualRoutePendingRegistration.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function only($locales): self
* @param string|null $locale
* @return $this
*/
public function where($name, ?string $expression = null, string $locale = null): self
public function where($name, ?string $expression = null, ?string $locale = null): self
{
$key = rtrim("constraints-$locale", '-');

Expand Down

0 comments on commit f176513

Please sign in to comment.