File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ public function getSql(): string
156
156
/**
157
157
* Loads cache of previous accessed columns and returns it.
158
158
* @internal
159
- * @return array|bool
159
+ * @return array|NULL
160
160
*/
161
- public function getPreviousAccessedColumns ()
161
+ public function getPreviousAccessedColumns (): ? array
162
162
{
163
163
if ($ this ->cache && $ this ->previousAccessedColumns === NULL ) {
164
164
$ this ->accessedColumns = $ this ->previousAccessedColumns = $ this ->cache ->load ($ this ->getGeneralCacheKey ());
@@ -167,7 +167,7 @@ public function getPreviousAccessedColumns()
167
167
}
168
168
}
169
169
170
- return array_keys (array_filter ((array ) $ this ->previousAccessedColumns ));
170
+ return array_keys (array_filter ((array ) $ this ->previousAccessedColumns )) ?: NULL ;
171
171
}
172
172
173
173
You can’t perform that action at this time.
0 commit comments