File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
156156 /**
157157 * Loads cache of previous accessed columns and returns it.
158158 * @internal
159- * @return array|bool
159+ * @return array|NULL
160160 */
161- public function getPreviousAccessedColumns ()
161+ public function getPreviousAccessedColumns (): ? array
162162 {
163163 if ($ this ->cache && $ this ->previousAccessedColumns === NULL ) {
164164 $ this ->accessedColumns = $ this ->previousAccessedColumns = $ this ->cache ->load ($ this ->getGeneralCacheKey ());
@@ -167,7 +167,7 @@ public function getPreviousAccessedColumns()
167167 }
168168 }
169169
170- return array_keys (array_filter ((array ) $ this ->previousAccessedColumns ));
170+ return array_keys (array_filter ((array ) $ this ->previousAccessedColumns )) ?: NULL ;
171171 }
172172
173173
You can’t perform that action at this time.
0 commit comments