mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 23:02:10 +00:00
Fixed php strtolower deprication warning
This commit is contained in:
@@ -195,7 +195,7 @@ abstract class LoadableRoute extends Route implements ILoadableRoute
|
|||||||
*/
|
*/
|
||||||
public function hasName(string $name): bool
|
public function hasName(string $name): bool
|
||||||
{
|
{
|
||||||
return strtolower($this->name) === strtolower($name);
|
return strtolower((string)$this->name) === strtolower((string)$name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user