mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 20:18:52 +02:00
N°5122 - Update libs to new PHP requirements
This commit is contained in:
@@ -49,7 +49,7 @@ class DefaultsConfigurator extends AbstractServiceConfigurator
|
||||
}
|
||||
|
||||
foreach ($attributes as $attribute => $value) {
|
||||
if (null !== $value && !is_scalar($value)) {
|
||||
if (null !== $value && !\is_scalar($value)) {
|
||||
throw new InvalidArgumentException(sprintf('Tag "%s", attribute "%s" in "_defaults" must be of a scalar-type.', $name, $attribute));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user