@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @return array |
|
55 | + * @return string[] |
|
56 | 56 | */ |
57 | 57 | public static function getEmployeesList() |
58 | 58 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | } |
16 | 16 | |
17 | 17 | /** |
18 | - * @return array |
|
18 | + * @return Post |
|
19 | 19 | */ |
20 | 20 | public function getTagNames() |
21 | 21 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @return mixed |
|
43 | + * @return integer |
|
44 | 44 | */ |
45 | 45 | public function getUserId() |
46 | 46 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
61 | - * @return mixed |
|
61 | + * @return string |
|
62 | 62 | */ |
63 | 63 | public function getExcerpt() |
64 | 64 | { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * @return mixed |
|
97 | + * @return string |
|
98 | 98 | */ |
99 | 99 | public function getUrl() |
100 | 100 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
102 | - * @return int |
|
102 | + * @return double |
|
103 | 103 | */ |
104 | 104 | protected function availableIn() |
105 | 105 | { |
@@ -118,7 +118,7 @@ |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
121 | - * @param $wikiId |
|
121 | + * @param integer $wikiId |
|
122 | 122 | * @return \Coyote\Wiki[] |
123 | 123 | */ |
124 | 124 | private function getRelated($wikiId) |
@@ -79,7 +79,7 @@ |
||
79 | 79 | return false; |
80 | 80 | } |
81 | 81 | |
82 | - return ! $this->stream->hasLoggedBefore($event->user->id, $event->ip, $event->browser); |
|
82 | + return !$this->stream->hasLoggedBefore($event->user->id, $event->ip, $event->browser); |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
@@ -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) |
@@ -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 | { |
@@ -148,7 +148,7 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | return $this->filter(function (User $user) use ($others) { |
151 | - return ! $others->contains('id', $user->id); |
|
151 | + return !$others->contains('id', $user->id); |
|
152 | 152 | }); |
153 | 153 | }); |
154 | 154 |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Illuminate\Routing\Events\RouteMatched; |
17 | 17 | use Illuminate\Routing\Redirector; |
18 | 18 | use Illuminate\Http\Request; |
19 | -use Illuminate\Pagination\Paginator; |
|
20 | 19 | |
21 | 20 | class AppServiceProvider extends ServiceProvider |
22 | 21 | { |