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 (#1997)
by Cristian
09:43
created
src/PanelTraits/Read.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     {
39 39
         $id = $this->getCurrentEntryId();
40 40
 
41
-        if (! $id) {
41
+        if (!$id) {
42 42
             return false;
43 43
         }
44 44
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function getEntry($id)
56 56
     {
57
-        if (! $this->entry) {
57
+        if (!$this->entry) {
58 58
             $this->entry = $this->model->findOrFail($id);
59 59
             $this->entry = $this->entry->withFakes();
60 60
         }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     public function hasUploadFields($form, $id = false)
144 144
     {
145 145
         $fields = $this->getFields($form, $id);
146
-        $upload_fields = array_where($fields, function ($value, $key) {
146
+        $upload_fields = array_where($fields, function($value, $key) {
147 147
             return isset($value['upload']) && $value['upload'] == true;
148 148
         });
149 149
 
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     {
244 244
         // If the default Page Length isn't in the menu's values, Add it the beginnin and resort all to show a croissant list.
245 245
         // assume both arrays are the same length.
246
-        if (! in_array($this->getDefaultPageLength(), $this->get('list.pageLengthMenu')[0])) {
246
+        if (!in_array($this->getDefaultPageLength(), $this->get('list.pageLengthMenu')[0])) {
247 247
             // Loop through 2 arrays of prop. page_length_menu
248 248
             foreach ($this->get('list.pageLengthMenu') as $key => &$page_length_choices) {
249 249
                 // This is a condition that should be always true.
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     public function getPageLengthMenu()
275 275
     {
276 276
         // if already set, use that
277
-        if (! $this->get('list.pageLengthMenu')) {
277
+        if (!$this->get('list.pageLengthMenu')) {
278 278
             // try to get the menu settings from the config file
279 279
             $this->set('list.pageLengthMenu', config('backpack.crud.page_length_menu') ?? [[10, 25, 50, 100, -1], [10, 25, 50, 100, 'backpack::crud.all']]);
280 280
 
Please login to merge, or discard this patch.