Passed
Push — master ( 7f56ae...9bc02d )
by Caen
04:09 queued 13s
created
packages/publications/src/Commands/ValidatePublicationsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
packages/publications/src/Commands/ValidatePublicationTypesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.