@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @throws \Cake\Network\Exception\NotFoundException When it missing an arguments or when the file doesn't exist. |
| 31 | 31 | * @throws \Cake\Network\Exception\ForbiddenException When the user is not premium. |
| 32 | 32 | * |
| 33 | - * @return \Cake\Network\Exception\ForbiddenException |
|
| 33 | + * @return Response |
|
| 34 | 34 | * \Cake\Network\Exception\NotFoundException |
| 35 | 35 | * \Cake\Network\Response |
| 36 | 36 | */ |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | /** |
| 61 | 61 | * Paypal has sent a notification. |
| 62 | 62 | * |
| 63 | - * @return bool |
|
| 63 | + * @return boolean|null |
|
| 64 | 64 | */ |
| 65 | 65 | public function notify() |
| 66 | 66 | { |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | * |
| 175 | 175 | * @param array $custom The custom data passed to Paypal. |
| 176 | 176 | * |
| 177 | - * @return bool|\App\Model\Entity\User |
|
| 177 | + * @return User |
|
| 178 | 178 | */ |
| 179 | 179 | protected function _updateUser(array $custom) |
| 180 | 180 | { |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | /** |
| 123 | 123 | * Determine if the given user is online or offline. |
| 124 | 124 | * |
| 125 | - * @param App\Model\Entity\User $user The user to check. |
|
| 125 | + * @param User $user The user to check. |
|
| 126 | 126 | * |
| 127 | 127 | * @return bool |
| 128 | 128 | */ |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use App\Event\Forum\Followers; |
| 7 | 7 | use App\Event\Forum\LastPostUpdater; |
| 8 | 8 | use App\Event\Forum\Notifications; |
| 9 | -use App\Event\Forum\Reader; |
|
| 10 | 9 | use App\Event\Forum\Statistics; |
| 11 | 10 | use Cake\Event\Event; |
| 12 | 11 | use Cake\I18n\Time; |
@@ -1,8 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace App\Controller; |
| 3 | 3 | |
| 4 | -use Cake\Core\Configure; |
|
| 5 | -use Cake\Event\Event; |
|
| 6 | 4 | use Cake\Network\Exception\NotFoundException; |
| 7 | 5 | |
| 8 | 6 | class NotificationsController extends AppController |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * @param int $userId The user id. |
| 140 | 140 | * @param int $unread The number of unread threads. |
| 141 | 141 | * |
| 142 | - * @return mixed |
|
| 142 | + * @return integer |
|
| 143 | 143 | */ |
| 144 | 144 | protected function _checkChildrens($children, $userId, $unread) |
| 145 | 145 | { |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | * @param int $data The data to use. |
| 216 | 216 | * @param int $unread The number of unread threads. |
| 217 | 217 | * |
| 218 | - * @return mixed |
|
| 218 | + * @return boolean |
|
| 219 | 219 | */ |
| 220 | 220 | protected function _saveTracker($data, $unread) |
| 221 | 221 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * |
| 39 | 39 | * @param \Cake\Event\Event $event The event that was fired. |
| 40 | 40 | * |
| 41 | - * @return int|false |
|
| 41 | + * @return string|false |
|
| 42 | 42 | */ |
| 43 | 43 | public function newPostsLikeStats(Event $event) |
| 44 | 44 | { |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | * |
| 60 | 60 | * @param \Cake\Event\Event $event The event that was fired. |
| 61 | 61 | * |
| 62 | - * @return int|false |
|
| 62 | + * @return string|false |
|
| 63 | 63 | */ |
| 64 | 64 | public function newPostStats(Event $event) |
| 65 | 65 | { |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | * |
| 81 | 81 | * @param \Cake\Event\Event $event The event that was fired. |
| 82 | 82 | * |
| 83 | - * @return int|false |
|
| 83 | + * @return string|false |
|
| 84 | 84 | */ |
| 85 | 85 | public function newThreadStats(Event $event) |
| 86 | 86 | { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * Get the discount of the transaction. |
| 21 | 21 | * |
| 22 | - * @return float |
|
| 22 | + * @return string |
|
| 23 | 23 | */ |
| 24 | 24 | protected function _getDiscount() |
| 25 | 25 | { |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | * Contains information such as the current host, scheme, port, and base |
| 52 | 52 | * directory. |
| 53 | 53 | * |
| 54 | - * @return mixed either false or a string URL. |
|
| 54 | + * @return false|string either false or a string URL. |
|
| 55 | 55 | */ |
| 56 | 56 | public function match(array $url, array $context = []) |
| 57 | 57 | { |