Passed
Push — master ( d53a65...ef5c28 )
by Marcel
05:33
created
benchmarks/GeneratorBench.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 use UMA\Uuid\Uuid;
6 6
 use UMA\Uuid\CombGenerator;
Please login to merge, or discard this patch.
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
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     private function __construct(string $text)
37 37
     {
38 38
         if (false === self::isUuid($text)) {
39
-            throw new \InvalidArgumentException('$text is not a valid Uuid. Got: ' . $text);
39
+            throw new \InvalidArgumentException('$text is not a valid Uuid. Got: '.$text);
40 40
         }
41 41
 
42 42
         $this->uuid = \strtolower($text);
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     public static function fromBytes(string $bytes): Uuid
67 67
     {
68 68
         if (16 !== \strlen($bytes)) {
69
-            throw new \InvalidArgumentException('Length of $bytes for new Uuid is not 16. Got: 0x' . \bin2hex($bytes));
69
+            throw new \InvalidArgumentException('Length of $bytes for new Uuid is not 16. Got: 0x'.\bin2hex($bytes));
70 70
         }
71 71
 
72 72
         return new self(self::bin2str($bytes));
Please login to merge, or discard this patch.