@@ -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 | { |
@@ -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 | /** |
@@ -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 | { |
@@ -74,6 +74,6 @@ |
||
74 | 74 | */ |
75 | 75 | protected function commands() |
76 | 76 | { |
77 | - $this->load(__DIR__.'/Commands'); |
|
77 | + $this->load(__DIR__ . '/Commands'); |
|
78 | 78 | } |
79 | 79 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | $this->events->dispatch(new StreamSaving($activity)); |
60 | 60 | |
61 | - $result = $this->stream->create($activity->toArray()); |
|
61 | + $result = $this->stream->create($activity->toArray()); |
|
62 | 62 | |
63 | 63 | $this->events->dispatch(new StreamSaved($result)); |
64 | 64 |