@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | { |
66 | 66 | $this->timeStart = microtime(true); |
67 | 67 | |
68 | - if (! $this->option('json')) { |
|
68 | + if (!$this->option('json')) { |
|
69 | 69 | $this->title('Validating publications!'); |
70 | 70 | } |
71 | 71 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | $name = $this->argument('publicationType'); |
100 | 100 | |
101 | 101 | if (filled($name)) { |
102 | - if (! $publicationTypes->has($name)) { |
|
102 | + if (!$publicationTypes->has($name)) { |
|
103 | 103 | throw new InvalidArgumentException("Publication type [$name] does not exist"); |
104 | 104 | } |
105 | 105 | |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | |
182 | 182 | protected function getMessageTypesInResult(array $results): array |
183 | 183 | { |
184 | - return array_map(function (string $result): string { |
|
184 | + return array_map(function(string $result): string { |
|
185 | 185 | return explode(':', $result)[0]; |
186 | 186 | }, array_values($results)); |
187 | 187 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | { |
46 | 46 | $timeStart = microtime(true); |
47 | 47 | |
48 | - if (! $this->option('json')) { |
|
48 | + if (!$this->option('json')) { |
|
49 | 49 | $this->title('Validating publication schemas!'); |
50 | 50 | } |
51 | 51 |