Completed
Push — master ( 0e67a8...9e7a35 )
by Marcel
02:07
created
src/Uuid.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\Uuid;
6 6
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     public static function fromBytes(string $bytes): Uuid
84 84
     {
85 85
         if (16 !== strlen($bytes)) {
86
-            throw new \InvalidArgumentException('Length of $bytes for new Uuid is not 16. Got: 0x' . bin2hex($bytes));
86
+            throw new \InvalidArgumentException('Length of $bytes for new Uuid is not 16. Got: 0x'.bin2hex($bytes));
87 87
         }
88 88
 
89 89
         return new self($bytes, self::bin2str($bytes));
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     public static function fromString(string $text): Uuid
101 101
     {
102 102
         if (false === self::isUuid($text)) {
103
-            throw new \InvalidArgumentException('$text is not a valid Uuid. Got: ' . $text);
103
+            throw new \InvalidArgumentException('$text is not a valid Uuid. Got: '.$text);
104 104
         }
105 105
 
106 106
         return new self(self::str2bin($text), $text);
Please login to merge, or discard this patch.