Completed
Push — v3 ( 0ba1bb...8d65fc )
by Fèvre
04:14
created
src/Controller/AttachmentsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Controller/Component/PaypalComponent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Controller/Component/SessionsActivityComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Controller/NotificationsController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Model/Entity/PremiumTransaction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Routing/Route/SlugRoute.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.