@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * @param \Illuminate\Database\Eloquent\Builder $model |
| 26 | 26 | * @param Repository $repository |
| 27 | - * @return mixed |
|
| 27 | + * @return \Illuminate\Database\Eloquent\Builder |
|
| 28 | 28 | */ |
| 29 | 29 | public function apply($model, Repository $repository) |
| 30 | 30 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Coyote\Repositories\Criteria\Stream; |
| 4 | 4 | |
| 5 | 5 | use Coyote\Http\Forms\StreamFilterForm; |
| 6 | -use Coyote\Repositories\Contracts\RepositoryInterface as Repository; |
|
| 7 | 6 | use Coyote\Repositories\Contracts\RepositoryInterface; |
| 8 | 7 | use Coyote\Repositories\Criteria\Criteria; |
| 9 | 8 | |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | /** |
| 35 | 35 | * Find firewall rule based on user id and/or IP. |
| 36 | 36 | * |
| 37 | - * @param $userId |
|
| 38 | - * @param $ip |
|
| 37 | + * @param integer|null $userId |
|
| 38 | + * @param string|null $ip |
|
| 39 | 39 | * @return \Coyote\Firewall|null |
| 40 | 40 | */ |
| 41 | 41 | public function find($userId, $ip) |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * Additional cache id parameter makes content unique. This is useful if we have like two identical comments |
| 36 | 36 | * but we want to parse and cache them differently. |
| 37 | 37 | * |
| 38 | - * @param mixed $id |
|
| 38 | + * @param string $id |
|
| 39 | 39 | * @return $this |
| 40 | 40 | */ |
| 41 | 41 | public function setId($id) |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Tags constructor. |
| 18 | - * @param array $tags |
|
| 18 | + * @param string[] $tags |
|
| 19 | 19 | */ |
| 20 | 20 | public function __construct($tags = []) |
| 21 | 21 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | private $relations; |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | - * @param string|string[] $relations |
|
| 15 | + * @param string[] $relations |
|
| 16 | 16 | */ |
| 17 | 17 | public function __construct($relations) |
| 18 | 18 | { |