We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | public static function isColumnNullable($column_name) |
31 | 31 | { |
32 | 32 | $instance = new static(); // create an instance of the model to be able to get the table name |
33 | - return ! DB::connection()->getDoctrineColumn($instance->getTable(), $column_name)->getNotnull(); |
|
33 | + return !DB::connection()->getDoctrineColumn($instance->getTable(), $column_name)->getNotnull(); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | /* |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | foreach ($columns as $key => $column) { |
50 | 50 | $column_contents = $this->{$column}; |
51 | 51 | |
52 | - if (! is_object($this->{$column})) { |
|
52 | + if (!is_object($this->{$column})) { |
|
53 | 53 | $column_contents = json_decode($this->{$column}); |
54 | 54 | } |
55 | 55 | |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | { |
73 | 73 | $model = '\\'.get_class($this); |
74 | 74 | |
75 | - if (! count($columns)) { |
|
75 | + if (!count($columns)) { |
|
76 | 76 | $columns = (property_exists($model, 'fakeColumns')) ? $this->fakeColumns : ['extras']; |
77 | 77 | } |
78 | 78 | |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | $attribute_value = (array) $this->{$attribute_name}; |
163 | 163 | foreach ($files_to_clear as $key => $filename) { |
164 | 164 | \Storage::disk($disk)->delete($filename); |
165 | - $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) { |
|
165 | + $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) { |
|
166 | 166 | return $value != $filename; |
167 | 167 | }); |
168 | 168 | } |