Skip to content

Commit

Permalink
Fix wrong type of
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Bertrams committed Aug 27, 2024
1 parent daa1e8f commit 90db816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository/EventRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function (Event $entity) use ($locale) {
);
}

public function getActiveEvents(array $filters, string $locale, ?int $page, $pageSize, ?int $limit, array $options): array
public function getActiveEvents(array $filters, string $locale, ?int $page, $pageSize, $limit = null, array $options): array
{
$pageCurrent = (key_exists('page', $options)) ? (int)$options['page'] : 0;

Expand Down

0 comments on commit 90db816

Please sign in to comment.