@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | // which simply lets the developers tweak the attribute as it is set on |
| 120 | 120 | // the model, such as "json_encoding" an listing of data for storage. |
| 121 | 121 | if ($this->hasSetMutator($key)) { |
| 122 | - $method = 'set'.Str::studly($key).'Attribute'; |
|
| 122 | + $method = 'set' . Str::studly($key) . 'Attribute'; |
|
| 123 | 123 | |
| 124 | 124 | return $this->{$method}($value); |
| 125 | 125 | } |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | $value = $this->fromDateTime($value); |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | - if ($this->isJsonCastable($key) && ! is_null($value)) { |
|
| 134 | + if ($this->isJsonCastable($key) && !is_null($value)) { |
|
| 135 | 135 | $value = $this->castAttributeAsJson($key, $value); |
| 136 | 136 | } |
| 137 | 137 | |
@@ -190,7 +190,7 @@ |
||
| 190 | 190 | |
| 191 | 191 | $preparedStatement = $this->session->prepare($query); |
| 192 | 192 | |
| 193 | - return $this->session->execute($preparedStatement, ['arguments' => $bindings, 'page_size' => (int)$this->config['page_size']]); |
|
| 193 | + return $this->session->execute($preparedStatement, ['arguments' => $bindings, 'page_size' => (int) $this->config['page_size']]); |
|
| 194 | 194 | }); |
| 195 | 195 | } |
| 196 | 196 | |