@@ -209,7 +209,7 @@ |
||
| 209 | 209 | * |
| 210 | 210 | * @param array $wheres |
| 211 | 211 | * @param array $bindings |
| 212 | - * @return void |
|
| 212 | + * @return BuildsQueries |
|
| 213 | 213 | */ |
| 214 | 214 | public function mergeWheres($wheres, $bindings) |
| 215 | 215 | { |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Recca0120\Repository\Concerns; |
| 4 | 4 | |
| 5 | 5 | use Closure; |
| 6 | -use Recca0120\Repository\Method; |
|
| 7 | 6 | use Illuminate\Database\Query\Builder; |
| 7 | +use Recca0120\Repository\Method; |
|
| 8 | 8 | |
| 9 | 9 | trait BuildsQueries |
| 10 | 10 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Recca0120\Repository\Concerns; |
| 4 | 4 | |
| 5 | -use Recca0120\Repository\Method; |
|
| 6 | 5 | use Illuminate\Database\Eloquent\Model; |
| 6 | +use Recca0120\Repository\Method; |
|
| 7 | 7 | |
| 8 | 8 | trait EloquentBuildsQueries |
| 9 | 9 | { |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Recca0120\Repository\Concerns; |
| 4 | 4 | |
| 5 | 5 | use Closure; |
| 6 | -use Recca0120\Repository\Method; |
|
| 7 | 6 | use Illuminate\Database\Eloquent\Builder; |
| 7 | +use Recca0120\Repository\Method; |
|
| 8 | 8 | |
| 9 | 9 | trait QueriesRelationships |
| 10 | 10 | { |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * |
| 26 | 26 | * @param string $method |
| 27 | 27 | * @param array $parameters |
| 28 | - * @return mixed |
|
| 28 | + * @return Criteria |
|
| 29 | 29 | * |
| 30 | 30 | * @throws \BadMethodCallException |
| 31 | 31 | */ |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Recca0120\Repository; |
| 4 | 4 | |
| 5 | -use Closure; |
|
| 6 | 5 | use BadMethodCallException; |
| 6 | +use Closure; |
|
| 7 | 7 | use Illuminate\Support\Str; |
| 8 | 8 | |
| 9 | 9 | class Criteria |