mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°5122 - Update libs to new PHP requirements
This commit is contained in:
@@ -180,14 +180,14 @@ class Router extends BaseRouter implements WarmableInterface, ServiceSubscriberI
|
||||
|
||||
$resolved = ($this->paramFetcher)($match[1]);
|
||||
|
||||
if (is_scalar($resolved)) {
|
||||
if (\is_scalar($resolved)) {
|
||||
$this->collectedParameters[$match[1]] = $resolved;
|
||||
|
||||
if (\is_string($resolved)) {
|
||||
$resolved = $this->resolve($resolved);
|
||||
}
|
||||
|
||||
if (is_scalar($resolved)) {
|
||||
if (\is_scalar($resolved)) {
|
||||
return false === $resolved ? '0' : (string) $resolved;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user