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 | /* |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | $column_contents = $this->attributes[$column]; |
84 | 84 | |
85 | - if (! is_object($column_contents)) { |
|
85 | + if (!is_object($column_contents)) { |
|
86 | 86 | $column_contents = json_decode($column_contents); |
87 | 87 | } |
88 | 88 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | { |
106 | 106 | $model = '\\'.get_class($this); |
107 | 107 | |
108 | - if (! count($columns)) { |
|
108 | + if (!count($columns)) { |
|
109 | 109 | $columns = (property_exists($model, 'fakeColumns')) ? $this->fakeColumns : ['extras']; |
110 | 110 | } |
111 | 111 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | */ |
123 | 123 | public function shouldEncodeFake($column) |
124 | 124 | { |
125 | - return ! in_array($column, array_keys($this->casts)); |
|
125 | + return !in_array($column, array_keys($this->casts)); |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | /* |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | $attribute_value = (array) $this->{$attribute_name}; |
206 | 206 | foreach ($files_to_clear as $key => $filename) { |
207 | 207 | \Storage::disk($disk)->delete($filename); |
208 | - $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) { |
|
208 | + $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) { |
|
209 | 209 | return $value != $filename; |
210 | 210 | }); |
211 | 211 | } |