@@ -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 |
@@ -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 | { |
@@ -544,7 +544,7 @@ |
||
544 | 544 | } |
545 | 545 | |
546 | 546 | /** |
547 | - * @param mixed $features |
|
547 | + * @param Feature[] $features |
|
548 | 548 | */ |
549 | 549 | public function setDefaultFeatures($features) |
550 | 550 | { |
@@ -24,6 +24,9 @@ |
||
24 | 24 | ]); |
25 | 25 | } |
26 | 26 | |
27 | + /** |
|
28 | + * @param Firm $firm |
|
29 | + */ |
|
27 | 30 | private function gallery($firm) |
28 | 31 | { |
29 | 32 | $result = []; |
@@ -80,7 +80,7 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
83 | - * @return \Coyote\Tag[]|null |
|
83 | + * @return null|\Illuminate\Support\Collection |
|
84 | 84 | */ |
85 | 85 | private function getUserPopularTags() |
86 | 86 | { |