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 (#1647)
by Cristian
04:10
created
src/PanelTraits/Query.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * Order results of the query in a custom way.
63 63
      *
64 64
      * @param  array $column           Column array with all attributes
65
-     * @param  string $column_direction ASC or DESC
65
+     * @param  string $columnDirection ASC or DESC
66 66
      *
67 67
      * @return \Illuminate\Database\Eloquent\Builder
68 68
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     public function customOrderBy($column, $columnDirection = 'asc')
70 70
     {
71
-        if (! isset($column['orderLogic'])) {
71
+        if (!isset($column['orderLogic'])) {
72 72
             return $this->query;
73 73
         }
74 74
 
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/CloneOperation.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
      *
10 10
      * @param int $id
11 11
      *
12
-     * @return Response
12
+     * @return string
13 13
      */
14 14
     public function clone($id)
15 15
     {
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * Create duplicates of multiple entries in the datatabase.
25 25
      *
26
-     * @param int $id
27 26
      *
28 27
      * @return Response
29 28
      */
Please login to merge, or discard this patch.
src/PanelTraits/AutoSet.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $this->setDoctrineTypesMapping();
21 21
         $this->getDbColumnTypes();
22 22
 
23
-        array_map(function ($field) {
23
+        array_map(function($field) {
24 24
             $new_field = [
25 25
                 'name'       => $field,
26 26
                 'label'      => $this->makeLabel($field),
@@ -31,14 +31,14 @@  discard block
 block discarded – undo
31 31
                 'attributes' => [],
32 32
                 'autoset'    => true,
33 33
             ];
34
-            if (! isset($this->create_fields[$field])) {
34
+            if (!isset($this->create_fields[$field])) {
35 35
                 $this->create_fields[$field] = $new_field;
36 36
             }
37
-            if (! isset($this->update_fields[$field])) {
37
+            if (!isset($this->update_fields[$field])) {
38 38
                 $this->update_fields[$field] = $new_field;
39 39
             }
40 40
 
41
-            if (! in_array($field, $this->model->getHidden()) && ! isset($this->columns[$field])) {
41
+            if (!in_array($field, $this->model->getHidden()) && !isset($this->columns[$field])) {
42 42
                 $this->addColumn([
43 43
                     'name'  => $field,
44 44
                     'label' => $this->makeLabel($field),
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function getFieldTypeFromDbColumnType($field)
96 96
     {
97
-        if (! array_key_exists($field, $this->db_column_types)) {
97
+        if (!array_key_exists($field, $this->db_column_types)) {
98 98
             return 'text';
99 99
         }
100 100
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         $types = ['enum' => 'string'];
163 163
         $platform = \DB::getDoctrineConnection()->getDatabasePlatform();
164 164
         foreach ($types as $type_key => $type_value) {
165
-            if (! $platform->hasDoctrineTypeMappingFor($type_key)) {
165
+            if (!$platform->hasDoctrineTypeMappingFor($type_key)) {
166 166
                 $platform->registerDoctrineTypeMapping($type_key, $type_value);
167 167
             }
168 168
         }
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
         $columns = array_keys($this->getTableColumns());
218 218
         $fillable = $this->model->getFillable();
219 219
 
220
-        if (! empty($fillable)) {
220
+        if (!empty($fillable)) {
221 221
             $columns = array_intersect($columns, $fillable);
222 222
         }
223 223
 
Please login to merge, or discard this patch.