@@ -42,7 +42,7 @@ |
||
| 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 | } |
@@ -100,10 +100,10 @@ |
||
| 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 | } |