Skip to content

Commit

Permalink
Selection::getPreviousAccessedColumns must return array [Closes nette…
Browse files Browse the repository at this point in the history
  • Loading branch information
hranicka committed Feb 2, 2017
1 parent 0818225 commit 0e858b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Database/Table/Selection.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ public function getSql(): string
/**
* Loads cache of previous accessed columns and returns it.
* @internal
* @return array|bool
* @return array
*/
public function getPreviousAccessedColumns()
public function getPreviousAccessedColumns(): array
{
if ($this->cache && $this->previousAccessedColumns === NULL) {
$this->accessedColumns = $this->previousAccessedColumns = $this->cache->load($this->getGeneralCacheKey());
Expand Down

0 comments on commit 0e858b7

Please sign in to comment.