mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
@@ -89,7 +89,7 @@ class DefaultTimeGenerator implements TimeGeneratorInterface
|
||||
$node = sprintf('%012x', $node);
|
||||
}
|
||||
|
||||
if (! ctype_xdigit($node) || strlen($node) > 12) {
|
||||
if (!ctype_xdigit($node) || strlen($node) > 12) {
|
||||
throw new \InvalidArgumentException('Invalid node value');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user