@@ -57,6 +57,7 @@ |
||
| 57 | 57 | * Class constructor |
| 58 | 58 | * @param AnnotatedInterface $model |
| 59 | 59 | * @param string $transformatorClass |
| 60 | + * @param ManganMeta $meta |
|
| 60 | 61 | */ |
| 61 | 62 | public function __construct(AnnotatedInterface $model, $transformatorClass = TransformatorInterface::class, $meta = null) |
| 62 | 63 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace Maslosoft\Mangan\Traits\DataProvider; |
| 10 | 10 | |
| 11 | -use Maslosoft\Mangan\Criteria; |
|
| 12 | 11 | use Maslosoft\Mangan\Interfaces\Criteria\DecoratableInterface; |
| 13 | 12 | use Maslosoft\Mangan\Interfaces\CriteriaInterface; |
| 14 | 13 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * Returns the pagination object. |
| 32 | 32 | * @param string $className the pagination object class name, use this param to override default pagination class. |
| 33 | - * @return PaginationInterface|Pagination|false the pagination object. If this is false, it means the pagination is disabled. |
|
| 33 | + * @return \Maslosoft\Mangan\Interfaces\Criteria\LimitableInterface the pagination object. If this is false, it means the pagination is disabled. |
|
| 34 | 34 | */ |
| 35 | 35 | public function getPagination($className = Pagination::class) |
| 36 | 36 | { |