@@ -87,7 +87,7 @@ public function order($columns, ...$params)
8787
8888 public function aggregation ($ function )
8989 {
90- $ aggregation = & $ this ->getRefTable ($ refPath )->aggregation [$ refPath . $ function . $ this ->sqlBuilder ->getSelectQueryHash ($ this ->getPreviousAccessedColumns ())];
90+ $ aggregation = &$ this ->getRefTable ($ refPath )->aggregation [$ refPath . $ function . $ this ->sqlBuilder ->getSelectQueryHash ($ this ->getPreviousAccessedColumns ())];
9191
9292 if ($ aggregation === NULL ) {
9393 $ aggregation = [];
@@ -146,8 +146,8 @@ protected function execute()
146146 $ offset = [];
147147 $ this ->accessColumn ($ this ->column );
148148 foreach ((array ) $ this ->rows as $ key => $ row ) {
149- $ ref = & $ data [$ row [$ this ->column ]];
150- $ skip = & $ offset [$ row [$ this ->column ]];
149+ $ ref = &$ data [$ row [$ this ->column ]];
150+ $ skip = &$ offset [$ row [$ this ->column ]];
151151 if ($ limit === NULL || $ rows <= 1 || (count ($ ref ) < $ limit && $ skip >= $ this ->sqlBuilder ->getOffset ())) {
152152 $ ref [$ key ] = $ row ;
153153 } else {
@@ -158,7 +158,7 @@ protected function execute()
158158 }
159159
160160 $ this ->refCacheCurrent ['data ' ] = $ data ;
161- $ this ->data = & $ this ->refCacheCurrent ['data ' ][$ this ->active ];
161+ $ this ->data = &$ this ->refCacheCurrent ['data ' ][$ this ->active ];
162162 }
163163
164164 $ this ->observeCache = $ this ;
@@ -173,7 +173,7 @@ protected function execute()
173173 }
174174
175175
176- protected function getRefTable (& $ refPath )
176+ protected function getRefTable (&$ refPath )
177177 {
178178 $ refObj = $ this ->refTable ;
179179 $ refPath = $ this ->name . '. ' ;
@@ -189,15 +189,15 @@ protected function getRefTable(& $refPath)
189189 protected function loadRefCache ()
190190 {
191191 $ hash = $ this ->getSpecificCacheKey ();
192- $ referencing = & $ this ->refCache ['referencing ' ][$ this ->getGeneralCacheKey ()];
193- $ this ->observeCache = & $ referencing ['observeCache ' ];
194- $ this ->refCacheCurrent = & $ referencing [$ hash ];
195- $ this ->accessedColumns = & $ referencing [$ hash ]['accessed ' ];
196- $ this ->specificCacheKey = & $ referencing [$ hash ]['specificCacheKey ' ];
197- $ this ->rows = & $ referencing [$ hash ]['rows ' ];
192+ $ referencing = &$ this ->refCache ['referencing ' ][$ this ->getGeneralCacheKey ()];
193+ $ this ->observeCache = &$ referencing ['observeCache ' ];
194+ $ this ->refCacheCurrent = &$ referencing [$ hash ];
195+ $ this ->accessedColumns = &$ referencing [$ hash ]['accessed ' ];
196+ $ this ->specificCacheKey = &$ referencing [$ hash ]['specificCacheKey ' ];
197+ $ this ->rows = &$ referencing [$ hash ]['rows ' ];
198198
199199 if (isset ($ referencing [$ hash ]['data ' ][$ this ->active ])) {
200- $ this ->data = & $ referencing [$ hash ]['data ' ][$ this ->active ];
200+ $ this ->data = &$ referencing [$ hash ]['data ' ][$ this ->active ];
201201 }
202202 }
203203
0 commit comments