Completed
Pull Request — master (#32)
by Klochok
12:59
created
src/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@
 block discarded – undo
397 397
             // update models
398 398
             foreach ($results as $id => $payload) {
399 399
                 $pk = $this->first->primaryKey()[0];
400
-                if ((int)$model->{$pk} === (int)$id) {
400
+                if ((int) $model->{$pk} === (int) $id) {
401 401
                     $model->setAttributes($payload);
402 402
                     break;
403 403
                 }
Please login to merge, or discard this patch.