GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch development (1ea943)
by butschster
05:38
created
src/Display/Column/Filter/Select.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             $model = new $model;
69 69
         }
70 70
 
71
-        if (! ($model instanceof Model)) {
71
+        if (!($model instanceof Model)) {
72 72
             throw new \Exception('Model must be an instance of Illuminate\Database\Eloquent\Model');
73 73
         }
74 74
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function getOptions()
124 124
     {
125
-        if (! is_null($this->getModel()) and ! is_null($this->getDisplay())) {
125
+        if (!is_null($this->getModel()) and !is_null($this->getDisplay())) {
126 126
             $this->loadOptions();
127 127
         }
128 128
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
             $parts = explode('.', $name);
209 209
             $fieldName = array_pop($parts);
210 210
             $relationName = implode('.', $parts);
211
-            $query->whereHas($relationName, function ($q) use ($search, $fieldName) {
211
+            $query->whereHas($relationName, function($q) use ($search, $fieldName) {
212 212
                 $this->buildQuery($q, $fieldName, $search);
213 213
             });
214 214
         }
Please login to merge, or discard this patch.
src/Display/Column/Filter/Range.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,13 +118,13 @@  discard block
 block discarded – undo
118 118
 
119 119
         $name = $column->getName();
120 120
 
121
-        if (! empty($from) && ! empty($to)) {
121
+        if (!empty($from) && !empty($to)) {
122 122
             $this->setOperator('between');
123 123
             $search = [$from, $to];
124
-        } elseif (! empty($from)) {
124
+        } elseif (!empty($from)) {
125 125
             $this->setOperator('greater_or_equal');
126 126
             $search = $from;
127
-        } elseif (! empty($to)) {
127
+        } elseif (!empty($to)) {
128 128
             $this->setOperator('less_or_equal');
129 129
             $search = $to;
130 130
         } else {
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             $parts = explode('.', $name);
138 138
             $fieldName = array_pop($parts);
139 139
             $relationName = implode('.', $parts);
140
-            $query->whereHas($relationName, function ($q) use ($search, $fieldName) {
140
+            $query->whereHas($relationName, function($q) use ($search, $fieldName) {
141 141
                 $this->buildQuery($q, $fieldName, $search);
142 142
             });
143 143
         }
Please login to merge, or discard this patch.
src/Display/DisplayTab.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,11 +60,11 @@
 block discarded – undo
60 60
     {
61 61
         $this->content = $content;
62 62
 
63
-        if (! is_null($label)) {
63
+        if (!is_null($label)) {
64 64
             $this->setLabel($label);
65 65
         }
66 66
 
67
-        if (! is_null($icon)) {
67
+        if (!is_null($icon)) {
68 68
             $this->setIcon($icon);
69 69
         }
70 70
     }
Please login to merge, or discard this patch.
src/Display/Extension/Columns.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,10 +88,10 @@  discard block
 block discarded – undo
88 88
         $this->controlActive = false;
89 89
 
90 90
         if ($this->isInitialize()) {
91
-            $this->columns = $this->columns->filter(function ($column) {
91
+            $this->columns = $this->columns->filter(function($column) {
92 92
                 $class = get_class($this->getControlColumn());
93 93
 
94
-                return ! ($column instanceof $class);
94
+                return !($column instanceof $class);
95 95
             });
96 96
         }
97 97
 
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     public function set($columns)
115 115
     {
116
-        if (! is_array($columns)) {
116
+        if (!is_array($columns)) {
117 117
             $columns = func_get_args();
118 118
         }
119 119
 
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 
180 180
     public function initialize()
181 181
     {
182
-        $this->all()->each(function (ColumnInterface $column) {
182
+        $this->all()->each(function(ColumnInterface $column) {
183 183
             $column->initialize();
184 184
         });
185 185
 
Please login to merge, or discard this patch.
src/Display/Extension/Apply.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function set($applies)
28 28
     {
29
-        if (! is_array($applies)) {
29
+        if (!is_array($applies)) {
30 30
             $applies = func_get_args();
31 31
         }
32 32
 
Please login to merge, or discard this patch.
src/Display/DisplayDatatables.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     public function setOrder($order)
89 89
     {
90
-        if (! is_array($order)) {
90
+        if (!is_array($order)) {
91 91
             $order = func_get_args();
92 92
         }
93 93
 
Please login to merge, or discard this patch.
src/Display/Filter/FilterBase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $this->setName($name);
37 37
 
38
-        if (! is_null($title)) {
38
+        if (!is_null($title)) {
39 39
             $this->setTitle($title);
40 40
         }
41 41
     }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function getAlias()
79 79
     {
80
-        if (! $this->alias) {
80
+        if (!$this->alias) {
81 81
             return $this->getName();
82 82
         }
83 83
 
@@ -149,6 +149,6 @@  discard block
 block discarded – undo
149 149
      */
150 150
     public function isActive()
151 151
     {
152
-        return ! is_null($this->getValue());
152
+        return !is_null($this->getValue());
153 153
     }
154 154
 }
Please login to merge, or discard this patch.
src/Http/routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$router->group(['as' => 'admin.', 'namespace' => 'SleepingOwl\Admin\Http\Controllers'], function ($router) {
4
-    if (! $router->has('admin.dashboard')) {
3
+$router->group(['as' => 'admin.', 'namespace' => 'SleepingOwl\Admin\Http\Controllers'], function($router) {
4
+    if (!$router->has('admin.dashboard')) {
5 5
         $router->get('', ['as' => 'dashboard', 'uses' => 'AdminController@getDashboard']);
6 6
     }
7 7
 
Please login to merge, or discard this patch.
src/Traits/Renderable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     protected $viewPath;
13 13
 
14 14
     /**
15
-     * @param string|View $view
15
+     * @param string $view
16 16
      *
17 17
      * @return $this
18 18
      */
Please login to merge, or discard this patch.