Skip to content

Commit f0ef14b

Browse files
committed
refactor: to avoid PHPStan error
1 parent c963fe8 commit f0ef14b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

system/Model.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ protected function doFind(bool $singleton, $id = null)
169169
*/
170170
protected function doFindColumn(string $columnName)
171171
{
172-
return $this->select($columnName)->asArray()->find();
172+
$this->select($columnName);
173+
174+
return $this->asArray()->find();
173175
}
174176

175177
/**

0 commit comments

Comments
 (0)