@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
21 | - * @return array |
|
21 | + * @return Twig_SimpleFunction[] |
|
22 | 22 | */ |
23 | 23 | public function getFunctions() |
24 | 24 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | - * @return array |
|
59 | + * @return Twig_SimpleFilter[] |
|
60 | 60 | */ |
61 | 61 | public function getFilters() |
62 | 62 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * Save models and remove old ones. |
11 | 11 | * |
12 | - * @param \Traversable|array $models |
|
12 | + * @param \Coyote\Firm\Benefit[] $models |
|
13 | 13 | * @return \Traversable|array |
14 | 14 | */ |
15 | 15 | public function push($models) |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | |
280 | 280 | /** |
281 | 281 | * @param string|null $time |
282 | - * @return null|int |
|
282 | + * @return null|double |
|
283 | 283 | */ |
284 | 284 | private function timeToSeconds($time) |
285 | 285 | { |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | * |
316 | 316 | * @example http://4programmers.net/Foo/Bar => /Foo/Bar |
317 | 317 | * @param string $url |
318 | - * @return string|bool |
|
318 | + * @return string|false |
|
319 | 319 | */ |
320 | 320 | private function getPathFromInternalUrl($url) |
321 | 321 | { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | } |
134 | 134 | |
135 | 135 | /** |
136 | - * @param Session[] $collection |
|
136 | + * @param Collection $collection |
|
137 | 137 | * @return Collection |
138 | 138 | */ |
139 | 139 | private function unique(Collection $collection) |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /** |
19 | 19 | * Index data in elasticsearch |
20 | 20 | * |
21 | - * @return mixed |
|
21 | + * @return callable |
|
22 | 22 | * @throws \Exception |
23 | 23 | */ |
24 | 24 | public function putToIndex() |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * |
41 | 41 | * @throws Missing404Exception, |
42 | 42 | * @throws \Exception |
43 | - * @return mixed |
|
43 | + * @return callable |
|
44 | 44 | */ |
45 | 45 | public function deleteFromIndex() |
46 | 46 | { |
@@ -76,6 +76,7 @@ |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @inheritdoc |
79 | + * @param string $view |
|
79 | 80 | */ |
80 | 81 | protected function view($view = null, $data = []) |
81 | 82 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * |
14 | 14 | * @param \Illuminate\Http\Request $request |
15 | 15 | * @param \Closure $next |
16 | - * @return mixed |
|
16 | + * @return \Illuminate\Http\Response |
|
17 | 17 | */ |
18 | 18 | public function handle(Request $request, Closure $next) |
19 | 19 | { |
@@ -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 | { |
@@ -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) |