Completed
Push — api/develop ( bb7641...13f8b0 )
by Bertrand
21:48 queued 18:59
created
app/Api/Controllers/LookupTableController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 
208 208
     /**
209 209
      * @param      $model
210
-     * @param null $custom_attribute
210
+     * @param string $custom_attribute
211 211
      *
212 212
      * @return \Illuminate\Http\JsonResponse
213 213
      *
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 
225 225
     /**
226 226
      * @param      $model
227
-     * @param null $custom_attribute
227
+     * @param string[] $custom_attribute
228 228
      *
229 229
      * @return \Illuminate\Http\JsonResponse
230 230
      *
Please login to merge, or discard this patch.
app/Api/Eloquent/Employee.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     }
200 200
 
201 201
     /**
202
-     * @param bool|true $paginate
202
+     * @param boolean $paginate
203 203
      * @param string    $sort
204 204
      * @param string    $direction
205 205
      *
Please login to merge, or discard this patch.
app/Api/Eloquent/Navlink.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -375,7 +375,7 @@
 block discarded – undo
375 375
 
376 376
     /**
377 377
      * @param $navigation
378
-     * @param $pim
378
+     * @param boolean $pim
379 379
      *
380 380
      * @return array
381 381
      *
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
     {
407 407
         $parent_links = self::where('parent_id', 0)->get();
408 408
 
409
-        $parent_links->each(function ($item) {
409
+        $parent_links->each(function($item) {
410 410
             $item->route = str_replace('/', '-', $item->href);
411 411
         })->toArray();
412 412
 
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
         foreach ($children as $k => $child) {
429 429
             $grand_children = self::where('parent_id', $child['id'])->get();
430 430
 
431
-            $grand_children->each(function ($item) {
431
+            $grand_children->each(function($item) {
432 432
                 $item->route = str_replace('/', '-', $item->href);
433 433
             })->toArray();
434 434
 
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
      */
451 451
     private static function filterPermission($user, $links)
452 452
     {
453
-        return $links->filter(function (Navlink $item) use ($user) {
453
+        return $links->filter(function(Navlink $item) use ($user) {
454 454
             $permission = str_replace('/', '.', $item->href);
455 455
 
456 456
             return $user->hasAccess($permission.'.view');
Please login to merge, or discard this patch.
app/Api/Requests/PIM/CustomFieldSectionsRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @return mixed
68
+     * @return \Illuminate\Http\Response
69 69
      *
70 70
      * @author Bertrand Kintanar <[email protected]>
71 71
      */
Please login to merge, or discard this patch.
app/Api/Transformers/EmployeeTransformer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
      *
195 195
      * @param Employee $employee
196 196
      *
197
-     * @return \League\Fractal\Resource\Collection
197
+     * @return \League\Fractal\Resource\Item
198 198
      *
199 199
      * @author Bertrand Kintanar <[email protected]>
200 200
      */
Please login to merge, or discard this patch.
app/Api/Transformers/UserTransformer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Include Role.
65 65
      *
66
-     * @param Role $user
66
+     * @param User $user
67 67
      *
68 68
      * @return \League\Fractal\Resource\Collection
69 69
      *
Please login to merge, or discard this patch.
app/Api/Controllers/PIM/Configuration/CustomFieldsController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@
 block discarded – undo
353 353
 
354 354
         $custom_field_sections = $this->custom_field_section->with('customFields.options')->whereScreenId($screen_id)->get();
355 355
 
356
-        $custom_field_sections->each(function ($custom_field_section) {
356
+        $custom_field_sections->each(function($custom_field_section) {
357 357
             $custom_fields = $custom_field_section->customFields;
358 358
 
359 359
             $custom_field_section->fields = array_chunk($custom_fields->toArray(), 2);
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
     /**
214 214
      * Setup table for custom field section.
215 215
      *
216
-     * @param $custom_field_sections
216
+     * @param \Illuminate\Pagination\LengthAwarePaginator $custom_field_sections
217 217
      *
218 218
      * @return array
219 219
      *
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function map(Router $router)
40 40
     {
41
-        $router->group(['namespace' => $this->namespace], function ($router) {
41
+        $router->group(['namespace' => $this->namespace], function($router) {
42 42
             require app_path('Http/routes.php');
43 43
         });
44 44
     }
Please login to merge, or discard this patch.
app/Api/Requests/PIM/CustomFieldRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @return mixed
68
+     * @return \Illuminate\Http\Response
69 69
      *
70 70
      * @author Bertrand Kintanar <[email protected]>
71 71
      */
Please login to merge, or discard this patch.