Skip to content

Commit

Permalink
Fix stan error
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 8, 2024
1 parent 21d75e8 commit 26807b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Listener/ViewSearchListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public function afterPaginate(EventInterface $event): void
*/
public function fields(): array
{
$fields = $this->getConfig('fields');
/** @var array $fields */
$fields = $this->getConfig('fields', []);
$config = $this->getConfig();

$schema = $this->_model()->getSchema();
Expand Down

0 comments on commit 26807b0

Please sign in to comment.