Test Setup Failed
Push — master ( 5cf724...b9960b )
by Roman
14:09
created
src/Eloquent/Model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.