We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | // register the enum column type, because Doctrine doesn't support it |
53 | 53 | $conn->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string'); |
54 | 54 | |
55 | - return ! $conn->getDoctrineColumn($table, $column_name)->getNotnull(); |
|
55 | + return !$conn->getDoctrineColumn($table, $column_name)->getNotnull(); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /* |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | foreach ($columns as $key => $column) { |
72 | 72 | $column_contents = $this->{$column}; |
73 | 73 | |
74 | - if (! is_object($this->{$column})) { |
|
74 | + if (!is_object($this->{$column})) { |
|
75 | 75 | $column_contents = json_decode($this->{$column}); |
76 | 76 | } |
77 | 77 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | { |
95 | 95 | $model = '\\'.get_class($this); |
96 | 96 | |
97 | - if (! count($columns)) { |
|
97 | + if (!count($columns)) { |
|
98 | 98 | $columns = (property_exists($model, 'fakeColumns')) ? $this->fakeColumns : ['extras']; |
99 | 99 | } |
100 | 100 | |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | $attribute_value = (array) $this->{$attribute_name}; |
185 | 185 | foreach ($files_to_clear as $key => $filename) { |
186 | 186 | \Storage::disk($disk)->delete($filename); |
187 | - $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) { |
|
187 | + $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) { |
|
188 | 188 | return $value != $filename; |
189 | 189 | }); |
190 | 190 | } |