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 | } else { |
190 | 190 | $entry->{$this->name} = Str::after($value, $this->path); |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | public function deleteUploadedFile(Model $entry) |
203 | 203 | { |
204 | 204 | if ($this->deleteWhenEntryIsDeleted) { |
205 | - if (! in_array(SoftDeletes::class, class_uses_recursive($entry), true)) { |
|
205 | + if (!in_array(SoftDeletes::class, class_uses_recursive($entry), true)) { |
|
206 | 206 | $this->performFileDeletion($entry); |
207 | 207 | |
208 | 208 | return; |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | $values = $entry->{$this->name}; |
226 | 226 | |
227 | 227 | if ($this->isMultiple) { |
228 | - if (! isset($entry->getCasts()[$this->name]) && is_string($values)) { |
|
228 | + if (!isset($entry->getCasts()[$this->name]) && is_string($values)) { |
|
229 | 229 | $values = json_decode($values, true); |
230 | 230 | } |
231 | 231 | } else { |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | */ |
247 | 247 | private function performFileDeletion($entry) |
248 | 248 | { |
249 | - if ($this->isRelationship || ! $this->isRepeatable) { |
|
249 | + if ($this->isRelationship || !$this->isRepeatable) { |
|
250 | 250 | $this->deleteFiles($entry); |
251 | 251 | |
252 | 252 | return; |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | * @param array $definition |
263 | 263 | * @return self |
264 | 264 | */ |
265 | - public static function for(array $crudObject, array $definition) |
|
265 | + public static function for (array $crudObject, array $definition) |
|
266 | 266 | { |
267 | 267 | return new static($crudObject, $definition); |
268 | 268 | } |