We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $conn->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('json', 'json_array'); |
60 | 60 | $conn->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('jsonb', 'json_array'); |
61 | 61 | |
62 | - return ! $conn->getDoctrineColumn($table, $column_name)->getNotnull(); |
|
62 | + return !$conn->getDoctrineColumn($table, $column_name)->getNotnull(); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | /* |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | foreach ($columns as $key => $column) { |
79 | 79 | $column_contents = $this->attributes[$column]; |
80 | 80 | |
81 | - if (! is_object($column_contents)) { |
|
81 | + if (!is_object($column_contents)) { |
|
82 | 82 | $column_contents = json_decode($column_contents); |
83 | 83 | } |
84 | 84 | |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | { |
102 | 102 | $model = '\\'.get_class($this); |
103 | 103 | |
104 | - if (! count($columns)) { |
|
104 | + if (!count($columns)) { |
|
105 | 105 | $columns = (property_exists($model, 'fakeColumns')) ? $this->fakeColumns : ['extras']; |
106 | 106 | } |
107 | 107 | |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | */ |
119 | 119 | public function shouldEncodeFake($column) |
120 | 120 | { |
121 | - return ! in_array($column, array_keys($this->casts)); |
|
121 | + return !in_array($column, array_keys($this->casts)); |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | /* |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | $attribute_value = (array) $this->{$attribute_name}; |
202 | 202 | foreach ($files_to_clear as $key => $filename) { |
203 | 203 | \Storage::disk($disk)->delete($filename); |
204 | - $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) { |
|
204 | + $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) { |
|
205 | 205 | return $value != $filename; |
206 | 206 | }); |
207 | 207 | } |