Test Failed
Branch master (e4354b)
by Evgenii
07:19
created
Category
src/Entities/Collection/AbstractCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     public function add($item): void
43 43
     {
44 44
         Assert::isInstanceOf($item, $this->getItemClass());
45
-        if(in_array($item, $this->items))
45
+        if (in_array($item, $this->items))
46 46
         {
47 47
             throw new \Webmozart\Assert\InvalidArgumentException($this->getItemName() . ' already exist.');
48 48
         }
Please login to merge, or discard this patch.
src/Entities/Uuid/Id.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,10 +100,10 @@
 block discarded – undo
100 100
     public function __call($name, $arguments)
101 101
     {
102 102
         $isAllowedGetter = strpos($name, 'get') === 0 && in_array($name, ['getBytes', 'getHex', 'getInteger']);
103
-        if($isAllowedGetter && method_exists($this->uuid, $name))
103
+        if ($isAllowedGetter && method_exists($this->uuid, $name))
104 104
         {
105 105
             return $this->uuid->$name();
106
-        } elseif($name === "getString")
106
+        } elseif ($name === "getString")
107 107
         {
108 108
             return $this->uuid->toString();
109 109
         }
Please login to merge, or discard this patch.