@@ -51,7 +51,7 @@ |
||
51 | 51 | |
52 | 52 | protected static function validated(mixed $value, string $type, string $key, bool $strict): mixed |
53 | 53 | { |
54 | - if ($strict && ! ("is_$type")($value)) { |
|
54 | + if ($strict && !("is_$type")($value)) { |
|
55 | 55 | throw new TypeError(sprintf('%s(): Config value %s must be of type %s, %s given', __METHOD__, $key, $type, gettype($value))); |
56 | 56 | } |
57 | 57 |