@@ -44,7 +44,6 @@ discard block |
||
| 44 | 44 | * @method get |
| 45 | 45 | * |
| 46 | 46 | * @param \Recca0120\Repository\Criteria|array $criteria |
| 47 | - * @param array $orderBy |
|
| 48 | 47 | * @param int $limit |
| 49 | 48 | * @param int $offset |
| 50 | 49 | * |
@@ -168,7 +167,7 @@ discard block |
||
| 168 | 167 | * @param array $attributes |
| 169 | 168 | * @param bool $forceFill |
| 170 | 169 | * |
| 171 | - * @return mixed |
|
| 170 | + * @return Fluent |
|
| 172 | 171 | */ |
| 173 | 172 | public function create($attributes, $forceFill = false) |
| 174 | 173 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Recca0120\Repository; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Fluent; |
|
| 6 | -use Illuminate\Support\Collection; |
|
| 7 | -use Illuminate\Pagination\Paginator; |
|
| 8 | 5 | use Illuminate\Pagination\LengthAwarePaginator; |
| 6 | +use Illuminate\Pagination\Paginator; |
|
| 7 | +use Illuminate\Support\Collection; |
|
| 8 | +use Illuminate\Support\Fluent; |
|
| 9 | 9 | use Recca0120\Repository\Compilers\CollectionCompiler; |
| 10 | 10 | |
| 11 | 11 | class CollectionRepository extends AbstractRepository |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * |
| 53 | 53 | * @method push |
| 54 | 54 | * |
| 55 | - * @param \Recca0120\Repository\Core\Action $action |
|
| 55 | + * @param Action $action |
|
| 56 | 56 | * |
| 57 | 57 | * @return self |
| 58 | 58 | */ |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | * |
| 90 | 90 | * @param mixed $value |
| 91 | 91 | * |
| 92 | - * @return \Recca0120\Repository\CriteriaExpression |
|
| 92 | + * @return Expression |
|
| 93 | 93 | */ |
| 94 | 94 | public static function expr($value) |
| 95 | 95 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Recca0120\Repository; |
| 4 | 4 | |
| 5 | -use ReflectionClass; |
|
| 6 | 5 | use BadMethodCallException; |
| 7 | 6 | use Recca0120\Repository\Helper\Action; |
| 7 | +use ReflectionClass; |
|
| 8 | 8 | |
| 9 | 9 | class Criteria |
| 10 | 10 | { |
@@ -58,7 +58,6 @@ discard block |
||
| 58 | 58 | * @method findBy |
| 59 | 59 | * |
| 60 | 60 | * @param \Recca0120\Repository\Criteria|array $criteria |
| 61 | - * @param array $orderBy |
|
| 62 | 61 | * @param int $limit |
| 63 | 62 | * @param int $offset |
| 64 | 63 | * |
@@ -160,6 +159,7 @@ discard block |
||
| 160 | 159 | * deprecated. |
| 161 | 160 | * |
| 162 | 161 | * @method deprecated |
| 162 | + * @param string $method |
|
| 163 | 163 | */ |
| 164 | 164 | protected function deprecated($method) |
| 165 | 165 | { |
@@ -32,7 +32,6 @@ |
||
| 32 | 32 | * @method get |
| 33 | 33 | * |
| 34 | 34 | * @param \Recca0120\Repository\Criteria|array $criteria |
| 35 | - * @param array $orderBy |
|
| 36 | 35 | * @param int $limit |
| 37 | 36 | * @param int $offset |
| 38 | 37 | * |