@@ -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 | */ |
@@ -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 |
@@ -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 | { |