mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-20 16:57:36 +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:
@@ -91,7 +91,7 @@ class StringCodec implements CodecInterface
|
||||
|
||||
$nameParsed = implode('-', $components);
|
||||
|
||||
if (! Uuid::isValid($nameParsed)) {
|
||||
if (!Uuid::isValid($nameParsed)) {
|
||||
throw new InvalidArgumentException('Invalid UUID string: ' . $encodedUuid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user