Fixed php strtolower deprication warning

This commit is contained in:
sessingo
2023-02-10 06:10:29 +01:00
parent e34fe47a04
commit 23a29ce5d1
@@ -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);
} }
/** /**