Completed
Push — master ( 456045...7e51b9 )
by Sherif
04:39
created
src/Modules/Core/Http/Controllers/ApiDocumentController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace App\Modules\Core\Http\Controllers;
3 3
 
4 4
 use App\Http\Controllers\Controller;
5
-use Illuminate\Http\Request;
6 5
 
7 6
 class ApiDocumentController extends Controller
8 7
 {
Please login to merge, or discard this patch.
src/Modules/Notifications/Notifications/ResetPassword.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * Get the notification's delivery channels.
29 29
      *
30 30
      * @param  mixed  $notifiable
31
-     * @return array
31
+     * @return string[]
32 32
      */
33 33
     public function via($notifiable)
34 34
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Illuminate\Notifications\Notification;
7 7
 use Illuminate\Contracts\Queue\ShouldQueue;
8 8
 use Illuminate\Notifications\Messages\MailMessage;
9
-use Illuminate\Notifications\Messages\BroadcastMessage;
10 9
 
11 10
 class ResetPassword extends Notification implements ShouldQueue
12 11
 {
Please login to merge, or discard this patch.
src/Modules/Notifications/Notifications/ConfirmEmail.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * Get the notification's delivery channels.
29 29
      *
30 30
      * @param  mixed  $notifiable
31
-     * @return array
31
+     * @return string[]
32 32
      */
33 33
     public function via($notifiable)
34 34
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Illuminate\Notifications\Notification;
7 7
 use Illuminate\Contracts\Queue\ShouldQueue;
8 8
 use Illuminate\Notifications\Messages\MailMessage;
9
-use Illuminate\Notifications\Messages\BroadcastMessage;
10 9
 
11 10
 class ConfirmEmail extends Notification implements ShouldQueue
12 11
 {
Please login to merge, or discard this patch.
src/Modules/Core/AbstractRepositories/AbstractRepository.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @param  array   $relations
34 34
      * @param  string  $sortBy
35
-     * @param  boolean $desc
35
+     * @param  integer $desc
36 36
      * @param  array   $columns
37 37
      * @return collection
38 38
      */
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * @param  integer $perPage
51 51
      * @param  array   $relations
52 52
      * @param  string  $sortBy
53
-     * @param  boolean $desc
53
+     * @param  integer $desc
54 54
      * @param  array   $columns
55 55
      * @return collection
56 56
      */
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      * @param  integer $perPage
165 165
      * @param  array   $relations
166 166
      * @param  string  $sortBy
167
-     * @param  boolean $desc
167
+     * @param  integer $desc
168 168
      * @param  array   $columns
169 169
      * @return collection
170 170
      */
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      * @param  integer $perPage
183 183
      * @param  array   $relations
184 184
      * @param  string  $sortBy
185
-     * @param  boolean $desc
185
+     * @param  integer $desc
186 186
      * @param  array   $columns
187 187
      * @return collection
188 188
      */
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      * Save the given model to the storage.
199 199
      * 
200 200
      * @param  array $data
201
-     * @return mixed
201
+     * @return boolean
202 202
      */
203 203
     public function save(array $data)
204 204
     {
@@ -517,7 +517,7 @@  discard block
 block discarded – undo
517 517
      * id.
518 518
      * 
519 519
      * @param  integer $id
520
-     * @param  array   $relations
520
+     * @param  string[]   $relations
521 521
      * @param  array   $columns
522 522
      * @return object
523 523
      */
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
      * @param  array   $conditions array of conditions
534 534
      * @param  array   $relations
535 535
      * @param  string  $sortBy
536
-     * @param  boolean $desc
536
+     * @param  integer $desc
537 537
      * @param  array   $columns
538 538
      * @return collection
539 539
      */
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
      * @param  array   $conditions array of conditions
566 566
      * @param  integer $perPage
567 567
      * @param  string  $sortBy
568
-     * @param  boolean $desc
568
+     * @param  integer $desc
569 569
      * @param  array   $columns
570 570
      * @return collection
571 571
      */
Please login to merge, or discard this patch.
src/Modules/Core/Console/Commands/GenerateDoc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * based on the docblock.
125 125
      * 
126 126
      * @param  array  &$route
127
-     * @param  object $reflectionMethod
127
+     * @param  \ReflectionMethod $reflectionMethod
128 128
      * @return void
129 129
      */
130 130
     protected function processDocBlock(&$route, $reflectionMethod)
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      * Generate post body for the given route.
149 149
      * 
150 150
      * @param  array  &$route
151
-     * @param  object $reflectionMethod
151
+     * @param  \ReflectionMethod $reflectionMethod
152 152
      * @param  array  $validationRules
153 153
      * @return void
154 154
      */
Please login to merge, or discard this patch.
src/Modules/Acl/Repositories/UserRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Check if the logged in user has the given group.
63 63
      * 
64
-     * @param  array $groups
64
+     * @param  string[] $groups
65 65
      * @param  mixed $user
66 66
      * @return boolean
67 67
      */
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      * 
156 156
      * @param  array   $credentials
157 157
      * @param  boolean $skipConfirmEmail
158
-     * @return array
158
+     * @return boolean
159 159
      */
160 160
     public function register($credentials, $skipConfirmEmail = false)
161 161
     {
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
      * Reset the given user's password.
247 247
      *
248 248
      * @param  array  $credentials
249
-     * @return array
249
+     * @return string|null
250 250
      */
251 251
     public function resetPassword($credentials)
252 252
     {
Please login to merge, or discard this patch.