@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | $fields = array_map( |
| 88 | - function ($field) { |
|
| 88 | + function($field) { |
|
| 89 | 89 | return $this->addArg($field); |
| 90 | 90 | }, |
| 91 | 91 | $schema |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | $fields = array_map( |
| 126 | - function ($field) { |
|
| 126 | + function($field) { |
|
| 127 | 127 | return $this->addResolve($field); |
| 128 | 128 | }, |
| 129 | 129 | $schema |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | } |
| 162 | 162 | |
| 163 | 163 | $fields = array_map( |
| 164 | - function ($field) { |
|
| 164 | + function($field) { |
|
| 165 | 165 | return $this->addField($field); |
| 166 | 166 | }, |
| 167 | 167 | $schema |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | $fields = array_map( |
| 209 | - function ($field) { |
|
| 209 | + function($field) { |
|
| 210 | 210 | return $this->addData($field); |
| 211 | 211 | }, |
| 212 | 212 | $schema |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | // Register the service the package provides. |
| 37 | 37 | $this->app->singleton( |
| 38 | 38 | 'artomator', |
| 39 | - function () { |
|
| 39 | + function() { |
|
| 40 | 40 | return new Artomator(); |
| 41 | 41 | } |
| 42 | 42 | ); |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | $results = array_map( |
| 159 | - function ($field) { |
|
| 159 | + function($field) { |
|
| 160 | 160 | return $this->addArg($field); |
| 161 | 161 | }, |
| 162 | 162 | $results |
@@ -111,8 +111,7 @@ |
||
| 111 | 111 | if ($this->option('schema') !== false) { |
| 112 | 112 | $schema = $this->option('schema'); |
| 113 | 113 | $schema = (new SchemaParser())->parse($schema); |
| 114 | - } |
|
| 115 | - else |
|
| 114 | + } else |
|
| 116 | 115 | { |
| 117 | 116 | return null; |
| 118 | 117 | } |
@@ -103,8 +103,7 @@ |
||
| 103 | 103 | if ($this->option('schema') !== false) { |
| 104 | 104 | $schema = $this->option('schema'); |
| 105 | 105 | $schema = (new SchemaParser())->parse($schema); |
| 106 | - } |
|
| 107 | - else { |
|
| 106 | + } else { |
|
| 108 | 107 | return null; |
| 109 | 108 | } |
| 110 | 109 | |