Completed
Push — master ( 4d22db...ff94ff )
by Avtandil
03:24 queued 22s
created
src/helpers.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -127,6 +127,10 @@
 block discarded – undo
127 127
 }
128 128
 
129 129
 if (!function_exists('e')) {
130
+
131
+    /**
132
+     * @param string $value
133
+     */
130 134
     function e($value)
131 135
     {
132 136
         return htmlspecialchars($value);
Please login to merge, or discard this patch.
src/Platfourm/Auth/AuthServiceProvider.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
     /**
14 14
      * Register any application authentication / authorization services.
15 15
      *
16
-     * @param  \Illuminate\Contracts\Auth\Access\Gate $gate
17 16
      * @return void
18 17
      */
19 18
     public function boot(AuthManager $auth)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Auth\AuthManager;
6 6
 use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
7
-use Longman\Platfourm\Auth\RemoteUserProvider;
8
-use Longman\Platfourm\Auth\Repositories\RemoteUserRepository;
9 7
 
10 8
 class AuthServiceProvider extends ServiceProvider
11 9
 {
Please login to merge, or discard this patch.
src/Platfourm/Auth/Middleware/Role.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
     /**
18 18
      * Create a new filter instance.
19 19
      *
20
-     * @param  Guard $auth
21 20
      * @return void
22 21
      */
23 22
     public function __construct(AuthUserServiceContract $authService)
Please login to merge, or discard this patch.
src/Platfourm/Auth/Services/AuthUserService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@
 block discarded – undo
155 155
         }
156 156
     }
157 157
 
158
+    /**
159
+     * @param string $perm
160
+     */
158 161
     public function can($perm)
159 162
     {
160 163
         return $this->getUser()->can($perm);
Please login to merge, or discard this patch.
src/Platfourm/Auth/Services/UpdateProfileService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use App\Repositories\Identity\UserRepository;
8 8
 use App\Repositories\Repository;
9 9
 use App\Services\EntityService;
10
-use App\Services\ServiceDispatcher;
11 10
 
12 11
 class UpdateProfileService extends EntityService
13 12
 {
Please login to merge, or discard this patch.
src/Platfourm/Foundation/Exceptions/Handler.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@  discard block
 block discarded – undo
93 93
         return parent::render($request, $e);
94 94
     }
95 95
 
96
+    /**
97
+     * @param \Illuminate\Http\Request $request
98
+     */
96 99
     protected function shouldRenderAsJson($request, Exception $e)
97 100
     {
98 101
         if ($e instanceof ValidationException) {
@@ -102,6 +105,9 @@  discard block
 block discarded – undo
102 105
         return $request->wantsJson();
103 106
     }
104 107
 
108
+    /**
109
+     * @param \Illuminate\Http\Request $request
110
+     */
105 111
     protected function renderAsJson($request, Exception $e)
106 112
     {
107 113
         // Define the response
Please login to merge, or discard this patch.
src/Platfourm/Repository/Eloquent/BaseRepository.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,6 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * Retrieve count of records.
177 177
      *
178
-     * @param  array $columns
179 178
      * @return mixed
180 179
      */
181 180
     public function count()
@@ -296,6 +295,9 @@  discard block
 block discarded – undo
296 295
         return $this->parserResult($results);
297 296
     }
298 297
 
298
+    /**
299
+     * @param string $columns
300
+     */
299 301
     protected function parseColumns($columns)
300 302
     {
301 303
         if ($columns == '*') {
@@ -305,6 +307,9 @@  discard block
 block discarded – undo
305 307
         return explode(',', $columns);
306 308
     }
307 309
 
310
+    /**
311
+     * @param Model $model
312
+     */
308 313
     protected function setWheres($model, array $options = null)
309 314
     {
310 315
 
@@ -401,6 +406,9 @@  discard block
 block discarded – undo
401 406
         return $this->parserResult($results);
402 407
     }
403 408
 
409
+    /**
410
+     * @param string $sortBy
411
+     */
404 412
     protected function parseSortByString($sortBy)
405 413
     {
406 414
         $sortBy = explode(',', $sortBy);
Please login to merge, or discard this patch.
src/Platfourm/Repository/Helpers/CacheKeys.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
     protected static $keys = null;
19 19
 
20 20
     /**
21
-     * @param $group
22
-     * @param $key
21
+     * @param string $group
22
+     * @param string $key
23 23
      *
24 24
      * @return void
25 25
      */
Please login to merge, or discard this patch.
src/Platfourm/Repository/Presenter/FractalPresenter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     }
141 141
 
142 142
     /**
143
-     * @param $data
143
+     * @param EloquentCollection $data
144 144
      *
145 145
      * @return \League\Fractal\Resource\Collection
146 146
      */
Please login to merge, or discard this patch.