Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — master ( e36cdd...5da16d )
by Cristian
02:59
created
src/Crud.php 1 patch
Doc Comments   +16 added lines, -3 removed lines patch added patch discarded remove patch
@@ -316,6 +316,7 @@  discard block
 block discarded – undo
316 316
      * Delete a row from the database.
317 317
      *
318 318
      * @param  [int] The id of the item to be deleted.
319
+     * @param integer $id
319 320
      *
320 321
      * @return [bool] Deletion confirmation.
321 322
      *
@@ -429,8 +430,9 @@  discard block
 block discarded – undo
429 430
      * Check if a permission is enabled for a Crud Panel. Fail if not.
430 431
      *
431 432
      * @param  [string] Permission.
433
+     * @param string $permission
432 434
      *
433
-     * @return bool
435
+     * @return boolean|null
434 436
      */
435 437
     public function hasAccessOrFail($permission)
436 438
     {
@@ -454,6 +456,7 @@  discard block
 block discarded – undo
454 456
      * All Create-Read-Update-Delete operations are done using that Eloquent Collection.
455 457
      *
456 458
      * @param [string] Full model namespace. Ex: App\Models\Article
459
+     * @param string $model_namespace
457 460
      */
458 461
     public function setModel($model_namespace)
459 462
     {
@@ -483,6 +486,7 @@  discard block
 block discarded – undo
483 486
      *
484 487
      * @param [string] Route name.
485 488
      * @param [array] Parameters.
489
+     * @param string $route
486 490
      */
487 491
     public function setRoute($route)
488 492
     {
@@ -530,6 +534,8 @@  discard block
 block discarded – undo
530 534
      *
531 535
      * @param [string] Entity name, in singular. Ex: article
532 536
      * @param [string] Entity name, in plural. Ex: articles
537
+     * @param string $singular
538
+     * @param string $plural
533 539
      */
534 540
     public function setEntityNameStrings($singular, $plural)
535 541
     {
@@ -708,8 +714,6 @@  discard block
 block discarded – undo
708 714
     /**
709 715
      * Add a field to the create/update form or both.
710 716
      *
711
-     * @param [string] $name    Field name (the column name in the db in most cases)
712
-     * @param [array]  $options Field-type-specific information.
713 717
      * @param string   $form    The form to add the field to (create/update/both)
714 718
      */
715 719
     public function addField($field, $form = 'both')
@@ -1260,6 +1264,9 @@  discard block
 block discarded – undo
1260 1264
         $this->setSort('fields', (array) $order);
1261 1265
     }
1262 1266
 
1267
+    /**
1268
+     * @param string $type
1269
+     */
1263 1270
     public function sync($type, $fields, $attributes)
1264 1271
     {
1265 1272
         if (!empty($this->{$type})) {
@@ -1273,11 +1280,17 @@  discard block
 block discarded – undo
1273 1280
         }
1274 1281
     }
1275 1282
 
1283
+    /**
1284
+     * @param string $items
1285
+     */
1276 1286
     public function setSort($items, $order)
1277 1287
     {
1278 1288
         $this->sort[$items] = $order;
1279 1289
     }
1280 1290
 
1291
+    /**
1292
+     * @param string $items
1293
+     */
1281 1294
     public function sort($items)
1282 1295
     {
1283 1296
         if (array_key_exists($items, $this->sort)) {
Please login to merge, or discard this patch.
src/CrudTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      *
70 70
      * @param array $columns - the database columns that contain the JSONs
71 71
      *
72
-     * @return Model
72
+     * @return CrudTrait
73 73
      */
74 74
     public function withFakes($columns = [])
75 75
     {
Please login to merge, or discard this patch.