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 (#282)
by Owen
02:43
created
src/PanelTraits/Fields.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
         }
25 25
 
26 26
         // if the label is missing, we should set it
27
-        if (! isset($complete_field_array['label'])) {
27
+        if (!isset($complete_field_array['label'])) {
28 28
             $complete_field_array['label'] = ucfirst($complete_field_array['name']);
29 29
         }
30 30
 
31 31
         // if the field type is missing, we should set it
32
-        if (! isset($complete_field_array['type'])) {
32
+        if (!isset($complete_field_array['type'])) {
33 33
             $complete_field_array['type'] = $this->getFieldTypeFromDbColumnType($complete_field_array['name']);
34 34
         }
35 35
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function removeFields($array_of_names, $form = 'both')
93 93
     {
94
-        if (! empty($array_of_names)) {
94
+        if (!empty($array_of_names)) {
95 95
             foreach ($array_of_names as $name) {
96 96
                 $this->removeField($name, $form);
97 97
             }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 
150 150
             // Handle table field type mutation
151 151
             if (isset($field['type']) && $field['type'] == 'table') {
152
-                if (isset($data[$field['name']]) && is_string($field['name']) && ! empty($field['name'])) {
152
+                if (isset($data[$field['name']]) && is_string($field['name']) && !empty($field['name'])) {
153 153
                     try {
154 154
                         $data[$field['name']] = json_decode($data[$field['name']]);
155 155
                     } catch (Exception $e) {
Please login to merge, or discard this patch.