@@ -121,12 +121,12 @@ |
||
121 | 121 | if ($this->collection === null) { |
122 | 122 | return; |
123 | 123 | } |
124 | - foreach($this->collection as $child) |
|
124 | + foreach ($this->collection as $child) |
|
125 | 125 | { |
126 | 126 | $listeners = $child->listeners('parent.change'); |
127 | 127 | $child->removeAllListeners('parent.change'); |
128 | 128 | $child->internalSetParent($this); |
129 | - foreach($listeners as $listener) { |
|
129 | + foreach ($listeners as $listener) { |
|
130 | 130 | $child->on('parent.change', $listener); |
131 | 131 | } |
132 | 132 | } |