@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | $this->setName('create'); |
22 | 22 | $this->setDescription('Create new map'); |
23 | - $this->setHelp('This command allows you to create game map.');; |
|
23 | + $this->setHelp('This command allows you to create game map.'); ; |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | /** {@inheritDoc} */ |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | public function add($element): bool |
24 | 24 | { |
25 | 25 | if (!$element instanceof Location) { |
26 | - throw new InvalidTypeException(); |
|
26 | + throw new InvalidTypeException(); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | return parent::add($element); |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | $firstLocation = parent::first(); |
36 | 36 | |
37 | 37 | if (!$firstLocation) { |
38 | - return null; |
|
38 | + return null; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | return $firstLocation; |
@@ -30,7 +30,7 @@ |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** {@inheritDoc} */ |
33 | - public function first(): ?Location |
|
33 | + public function first(): ? Location |
|
34 | 34 | { |
35 | 35 | $firstLocation = parent::first(); |
36 | 36 |