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
Pull Request — master (#1504)
by Thomas
07:11 queued 03:32
created
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.
src/PanelTraits/AutoFocus.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
         return $this->autoFocusOnFirstField;
12 12
     }
13 13
 
14
+    /**
15
+     * @param boolean $value
16
+     */
14 17
     public function setAutoFocusOnFirstField($value)
15 18
     {
16 19
         return $this->autoFocusOnFirstField = (bool) $value;
Please login to merge, or discard this patch.
src/PanelTraits/Filters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 
125 125
     /**
126 126
      * Determine if the current CRUD action is a list operation (using standard or ajax DataTables).
127
-     * @return bool
127
+     * @return boolean|null
128 128
      */
129 129
     public function doingListOperation()
130 130
     {
Please login to merge, or discard this patch.
src/PanelTraits/Delete.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      *
16 16
      * @param  int $id The id of the item to be deleted.
17 17
      *
18
-     * @return bool True if the item was deleted.
18
+     * @return string True if the item was deleted.
19 19
      *
20 20
      * @throws \Illuminate\Database\Eloquent\ModelNotFoundException if the model was not found.
21 21
      *
Please login to merge, or discard this patch.
src/CrudPanel.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -123,6 +123,7 @@
 block discarded – undo
123 123
      *
124 124
      * @param [string] Route name.
125 125
      * @param [array] Parameters.
126
+     * @param string $route
126 127
      */
127 128
     public function setRouteName($route, $parameters = [])
128 129
     {
Please login to merge, or discard this patch.
src/PanelTraits/Access.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -12,12 +12,18 @@
 block discarded – undo
12 12
     |--------------------------------------------------------------------------
13 13
     */
14 14
 
15
+    /**
16
+     * @param string $access
17
+     */
15 18
     public function allowAccess($access)
16 19
     {
17 20
         // $this->addButtons((array)$access);
18 21
         return $this->access = array_merge(array_diff((array) $access, $this->access), $this->access);
19 22
     }
20 23
 
24
+    /**
25
+     * @param string $access
26
+     */
21 27
     public function denyAccess($access)
22 28
     {
23 29
         // $this->removeButtons((array)$access);
Please login to merge, or discard this patch.
src/PanelTraits/Buttons.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
         $this->addButton($stack, $name, 'model_function', $model_function_name, $position);
60 60
     }
61 61
 
62
+    /**
63
+     * @param string $view
64
+     */
62 65
     public function addButtonFromView($stack, $name, $view, $position = false)
63 66
     {
64 67
         $view = 'vendor.backpack.crud.buttons.'.$view;
@@ -104,6 +107,9 @@  discard block
 block discarded – undo
104 107
         $this->buttons = collect([]);
105 108
     }
106 109
 
110
+    /**
111
+     * @param string $stack
112
+     */
107 113
     public function removeAllButtonsFromStack($stack)
108 114
     {
109 115
         $this->buttons = $this->buttons->reject(function ($button) use ($stack) {
@@ -126,6 +132,12 @@  discard block
 block discarded – undo
126 132
     public $type = 'view';
127 133
     public $content;
128 134
 
135
+    /**
136
+     * @param string $stack
137
+     * @param string $name
138
+     * @param string $type
139
+     * @param string $content
140
+     */
129 141
     public function __construct($stack, $name, $type, $content)
130 142
     {
131 143
         $this->stack = $stack;
Please login to merge, or discard this patch.
src/PanelTraits/FakeColumns.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      * been found.
10 10
      *
11 11
      * @param string $form The CRUD form. Can be 'create', 'update' or 'both'. Default is 'create'.
12
-     * @param int|bool $id Optional entity ID needed in the case of the update form.
12
+     * @param integer $id Optional entity ID needed in the case of the update form.
13 13
      * @return array The fake columns array.
14 14
      */
15 15
     public function getFakeColumnsAsArray($form = 'create', $id = false)
Please login to merge, or discard this patch.
src/PanelTraits/Tabs.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
         return $this->tabsEnabled;
23 23
     }
24 24
 
25
+    /**
26
+     * @return boolean
27
+     */
25 28
     public function tabsEnabled()
26 29
     {
27 30
         return $this->tabsEnabled;
Please login to merge, or discard this patch.