Completed
Push — dev ( be8d0d...249ddf )
by James Ekow Abaka
01:51
created
src/relationships/HasManyRelationship.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
     public function postSave(&$wrapper)
70 70
     {
71
-        foreach($this->tempData as $relatedRecord) {
71
+        foreach ($this->tempData as $relatedRecord) {
72 72
             $relatedRecord[$this->options['foreign_key']] = $wrapper[$this->options['local_key']];
73 73
             if (!$relatedRecord->save()) {
74 74
                 throw new NibiiException("Failed to save related model [{$this->options['model']}]");
Please login to merge, or discard this patch.