Skip to content

Commit

Permalink
Add initialize without parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed Nov 11, 2024
1 parent 87fa642 commit 7bb4556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Trait/ActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static function get(mixed ...$pk)
* @param IteratorFilter $filter
* @return static[]
*/
public static function filter(IteratorFilter $filter, $page = 0, $limit = 50): array
public static function filter(IteratorFilter $filter, int $page = 0, int $limit = 50): array
{
return self::$repository->getByFilter($filter, page: $page, limit: $limit);
}
Expand Down

0 comments on commit 7bb4556

Please sign in to comment.