Passed
Pull Request — master (#32)
by Klochok
13:42
created
src/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -396,7 +396,7 @@
 block discarded – undo
396 396
             $model->afterSave(false, $changedAttributes);
397 397
             // update models
398 398
             foreach ($results as $id => $payload) {
399
-                if ((int)$model->id === (int)$id) {
399
+                if ((int) $model->id === (int) $id) {
400 400
                     $model->setAttributes($payload);
401 401
                 }
402 402
             }
Please login to merge, or discard this patch.