@@ -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 | { |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | |
| 186 | 186 | /** |
| 187 | 187 | * @param \Closure $callback |
| 188 | - * @return mixed |
|
| 188 | + * @return string|null |
|
| 189 | 189 | */ |
| 190 | 190 | protected function transaction(\Closure $callback) |
| 191 | 191 | { |
@@ -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 | { |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | private function store($page, $hits) |
| 87 | 87 | { |
| 88 | 88 | foreach ($hits as $hit) { |
| 89 | - list($userId, ) = explode(';', $hit); |
|
| 89 | + list($userId,) = explode(';', $hit); |
|
| 90 | 90 | |
| 91 | 91 | if (is_numeric($userId)) { |
| 92 | 92 | /** @var \Coyote\Page\Visit $visits */ |
@@ -415,7 +415,7 @@ |
||
| 415 | 415 | /** |
| 416 | 416 | * @param mixed $data |
| 417 | 417 | * @param string $name |
| 418 | - * @return mixed|null |
|
| 418 | + * @return string |
|
| 419 | 419 | */ |
| 420 | 420 | protected function getDataValue($data, $name) |
| 421 | 421 | { |
@@ -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) |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | /** |
| 18 | 18 | * Index data in elasticsearch |
| 19 | 19 | * |
| 20 | - * @return mixed |
|
| 20 | + * @return callable |
|
| 21 | 21 | */ |
| 22 | 22 | public function putToIndex() |
| 23 | 23 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @throws Missing404Exception, |
| 34 | 34 | * @throws \Exception |
| 35 | - * @return mixed |
|
| 35 | + * @return callable |
|
| 36 | 36 | */ |
| 37 | 37 | public function deleteFromIndex() |
| 38 | 38 | { |
@@ -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 | /** |
@@ -126,7 +126,7 @@ |
||
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | 128 | * @param Request $request |
| 129 | - * @param HttpException|ModelNotFoundException $e |
|
| 129 | + * @param Exception $e |
|
| 130 | 130 | * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|SymfonyResponse |
| 131 | 131 | */ |
| 132 | 132 | protected function renderHttpErrorException(Request $request, $e) |