Skip to content

Commit 11808ef

Browse files
committed
CS
1 parent 3cad86c commit 11808ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Util/Str.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static function vsprintfOrNull(string $message, array $values): ?string
2828

2929
foreach ($values as $value) {
3030
// If the value is not a scalar or null, we cannot safely format it
31-
if (!is_scalar($value) && !is_null($value)) {
31+
if (!\is_scalar($value) && $value !== null) {
3232
return null;
3333
}
3434
}

0 commit comments

Comments
 (0)