@@ -23,9 +23,6 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * |
| 25 | 25 | * @param QueryBuilder $query |
| 26 | - * @param integer $start |
|
| 27 | - * @param integer $end |
|
| 28 | - * |
|
| 29 | 26 | * @return QueryBuilder |
| 30 | 27 | */ |
| 31 | 28 | public function getItems($query, $current, $limit) |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Pagination\Adapter; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\QueryBuilder; |
|
| 5 | +use Doctrine\ORM\QueryBuilder; |
|
| 6 | 6 | use Pagination\Interfaces\IAdapterInterface; |
| 7 | 7 | |
| 8 | 8 | class PaginationORMAdapter implements IAdapterInterface |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Pagination; |
| 4 | 4 | |
| 5 | -use Silex\Application; |
|
| 6 | -use Silex\ServiceProviderInterface; |
|
| 5 | +use Silex\Application; |
|
| 6 | +use Silex\ServiceProviderInterface; |
|
| 7 | 7 | use Symfony\Component\Translation\Translator; |
| 8 | 8 | |
| 9 | 9 | class PaginationServiceProvider implements ServiceProviderInterface |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Pagination\Util; |
| 4 | 4 | |
| 5 | -use Silex\Application; |
|
| 6 | -use Symfony\Component\Routing\Router; |
|
| 5 | +use Silex\Application; |
|
| 6 | +use Symfony\Component\Routing\Router; |
|
| 7 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 8 | 8 | |
| 9 | 9 | class Paginator |