Completed
Push — master ( 68e687...07e518 )
by Andrii
24:37 queued 09:07
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 ((string)$model->{$pk} === (string)$id) {
400
+                if ((string) $model->{$pk} === (string) $id) {
401 401
                     $model->setAttributes($payload);
402 402
                     break;
403 403
                 }
Please login to merge, or discard this patch.