Skip to content

Commit

Permalink
refactor(builder): refactor from zephir.
Browse files Browse the repository at this point in the history
  • Loading branch information
noone-silent committed Aug 1, 2024
1 parent 5630a4b commit 9626b9c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Paginator/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ abstract class AbstractAdapter implements AdapterInterface
/**
* Repository for pagination
*
* @var RepositoryInterface|null
* @var RepositoryInterface
*/
protected ?RepositoryInterface $repository = null;
protected RepositoryInterface $repository;

/**
* Phalcon\Paginator\Adapter\AbstractAdapter constructor
Expand Down
16 changes: 8 additions & 8 deletions src/Paginator/RepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
*/
interface RepositoryInterface
{
public const PROPERTY_CURRENT_PAGE = 'current';
public const PROPERTY_FIRST_PAGE = 'first';
public const PROPERTY_ITEMS = 'items';
public const PROPERTY_LAST_PAGE = 'last';
public const PROPERTY_LIMIT = 'limit';
public const PROPERTY_NEXT_PAGE = 'next';
public const PROPERTY_PREVIOUS_PAGE = 'previous';
public const PROPERTY_TOTAL_ITEMS = 'total_items';
public const PROPERTY_CURRENT_PAGE = "current";
public const PROPERTY_FIRST_PAGE = "first";
public const PROPERTY_ITEMS = "items";
public const PROPERTY_LAST_PAGE = "last";
public const PROPERTY_LIMIT = "limit";
public const PROPERTY_NEXT_PAGE = "next";
public const PROPERTY_PREVIOUS_PAGE = "previous";
public const PROPERTY_TOTAL_ITEMS = "total_items";

/**
* Gets the aliases for properties repository
Expand Down

0 comments on commit 9626b9c

Please sign in to comment.