Skip to content

Commit

Permalink
Merge pull request #86 from frkcn/fix/php-8.4
Browse files Browse the repository at this point in the history
Remove PHP 8.4 deprecation warning
  • Loading branch information
chinleung authored Feb 28, 2025
2 parents 25a86f7 + f176513 commit bf45dc4
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 bf45dc4

Please sign in to comment.