We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | { |
185 | 185 | $value = $entry->{$this->name}; |
186 | 186 | |
187 | - if ($this->isMultiple && ! isset($entry->getCasts()[$this->name]) && is_string($value)) { |
|
187 | + if ($this->isMultiple && !isset($entry->getCasts()[$this->name]) && is_string($value)) { |
|
188 | 188 | $entry->{$this->name} = json_decode($value, true); |
189 | 189 | |
190 | 190 | return $entry; |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | public function deleteUploadedFile(Model $entry) |
205 | 205 | { |
206 | 206 | if ($this->deleteWhenEntryIsDeleted) { |
207 | - if (! in_array(SoftDeletes::class, class_uses_recursive($entry), true)) { |
|
207 | + if (!in_array(SoftDeletes::class, class_uses_recursive($entry), true)) { |
|
208 | 208 | $this->performFileDeletion($entry); |
209 | 209 | |
210 | 210 | return; |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | $values = $entry->{$this->name}; |
228 | 228 | |
229 | 229 | if ($this->isMultiple) { |
230 | - if (! isset($entry->getCasts()[$this->name]) && is_string($values)) { |
|
230 | + if (!isset($entry->getCasts()[$this->name]) && is_string($values)) { |
|
231 | 231 | $values = json_decode($values, true); |
232 | 232 | } |
233 | 233 | } else { |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | */ |
249 | 249 | private function performFileDeletion($entry) |
250 | 250 | { |
251 | - if ($this->isRelationship || ! $this->isRepeatable) { |
|
251 | + if ($this->isRelationship || !$this->isRepeatable) { |
|
252 | 252 | $this->deleteFiles($entry); |
253 | 253 | |
254 | 254 | return; |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | * @param array $definition |
265 | 265 | * @return self |
266 | 266 | */ |
267 | - public static function for(array $crudObject, array $definition) |
|
267 | + public static function for (array $crudObject, array $definition) |
|
268 | 268 | { |
269 | 269 | return new static($crudObject, $definition); |
270 | 270 | } |