@@ -45,7 +45,7 @@ |
||
| 45 | 45 | |
| 46 | 46 | public function setCode(int $code): self |
| 47 | 47 | { |
| 48 | - if (! \in_array($code, self::CODES)) { |
|
| 48 | + if (!\in_array($code, self::CODES)) { |
|
| 49 | 49 | throw new \InvalidArgumentException(); |
| 50 | 50 | } |
| 51 | 51 | $this->code = $code; |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | $property = Property::tryFrom($cases[$key]->value); |
| 24 | 24 | |
| 25 | - if (! $property instanceof Property) { |
|
| 25 | + if (!$property instanceof Property) { |
|
| 26 | 26 | throw new RuntimeException( |
| 27 | 27 | \sprintf('Property % can not be found', $name) |
| 28 | 28 | ); |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | return $this->offices; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - return $this->offices->filter(function (Office $office) use ($type) { |
|
| 39 | + return $this->offices->filter(function(Office $office) use ($type) { |
|
| 40 | 40 | return $office->getType() == $type; |
| 41 | 41 | }); |
| 42 | 42 | } |