Skip to content

Commit

Permalink
fix $list->current() for CallbackSettings -> same issue as #207
Browse files Browse the repository at this point in the history
  • Loading branch information
ctippler committed Nov 28, 2024
1 parent b9fb88c commit 28e9472
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Model/CallbackSetting/Listing/Dao.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected function getTableName(): string
}

/**
* @return array<mixed>
* @return CallbackSetting[]
*
* @throws \Doctrine\DBAL\Exception
*/
Expand All @@ -33,6 +33,8 @@ public function load(): array
$items[] = CallbackSetting::getById($id);
}

$this->model->setData($items);

return $items;
}

Expand Down

0 comments on commit 28e9472

Please sign in to comment.