Skip to content

Commit

Permalink
Add missing return type annotation in AuraSqlQueryPager
Browse files Browse the repository at this point in the history
This change adds the missing return type annotation for the `init` method in `AuraSqlQueryPager`. It improves code readability and ensures better static analysis compatibility.
  • Loading branch information
koriym committed Feb 1, 2025
1 parent f1c16e6 commit 6d75d7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Pagerfanta/AuraSqlQueryPager.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ public function __construct(private readonly ViewInterface $view, private readon

/**
* @phpstan-param positive-int $paging
*
* @return AuraSqlQueryPagerInterface
*
* {@inheritDoc}
*/
public function init(ExtendedPdoInterface $pdo, SelectInterface $select, int $paging, RouteGeneratorInterface $routeGenerator)
Expand Down

0 comments on commit 6d75d7d

Please sign in to comment.