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
Push — master ( ee0bb8...55d99f )
by
unknown
12:02
created
resources/views/default/display/extensions/columns.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
             @foreach ($columns as $column)
23 23
                 <?php
24 24
                 $column->setModel($model);
25
-                if($column instanceof \SleepingOwl\Admin\Display\Column\Control) {
25
+                if ($column instanceof \SleepingOwl\Admin\Display\Column\Control) {
26 26
                     $column->initialize();
27 27
                 }
28 28
                 ?>
Please login to merge, or discard this patch.
src/Display/DisplayTabbed.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @return TabInterface[]|DisplayTabsCollection
68
+     * @return \SleepingOwl\Admin\Form\FormElementsCollection
69 69
      */
70 70
     public function getTabs()
71 71
     {
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             }
68 68
         }
69 69
 
70
-        $activeTabs = $this->getTabs()->filter(function (TabInterface $tab) {
70
+        $activeTabs = $this->getTabs()->filter(function(TabInterface $tab) {
71 71
             return $tab->isActive();
72 72
         })->count();
73 73
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function setModelClass($class)
97 97
     {
98
-        $this->getTabs()->each(function (TabInterface $tab) use ($class) {
98
+        $this->getTabs()->each(function(TabInterface $tab) use ($class) {
99 99
             if ($tab instanceof DisplayInterface) {
100 100
                 $tab->setModelClass($class);
101 101
             }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      */
180 180
     public function setAction($action)
181 181
     {
182
-        $this->getTabs()->each(function (TabInterface $tab) use ($action) {
182
+        $this->getTabs()->each(function(TabInterface $tab) use ($action) {
183 183
             if ($tab instanceof FormInterface) {
184 184
                 $tab->setAction($action);
185 185
             }
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     public function setId($id)
197 197
     {
198
-        $this->getTabs()->each(function (TabInterface $tab) use ($id) {
198
+        $this->getTabs()->each(function(TabInterface $tab) use ($id) {
199 199
             if ($tab instanceof FormInterface) {
200 200
                 $tab->setId($id);
201 201
             }
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      */
213 213
     public function validateForm(\Illuminate\Http\Request $request, ModelConfigurationInterface $model = null)
214 214
     {
215
-        $this->getTabs()->each(function ($tab) use ($request, $model) {
215
+        $this->getTabs()->each(function($tab) use ($request, $model) {
216 216
             $tabId = $request->get('sleeping_owl_tab_id');
217 217
 
218 218
             if ($tab instanceof FormInterface && $tab->getName() == $tabId) {
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
      */
230 230
     public function saveForm(\Illuminate\Http\Request $request, ModelConfigurationInterface $model = null)
231 231
     {
232
-        $this->getTabs()->each(function (TabInterface $tab) use ($request, $model) {
232
+        $this->getTabs()->each(function(TabInterface $tab) use ($request, $model) {
233 233
             $tabId = $request->get('sleeping_owl_tab_id');
234 234
 
235 235
             if ($tab instanceof FormInterface && $tab->getName() == $tabId) {
Please login to merge, or discard this patch.
src/Form/FormElementsCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function onlyActive()
14 14
     {
15
-        return $this->filter(function ($element) {
15
+        return $this->filter(function($element) {
16 16
             if ($element instanceof FormElementInterface) {
17
-                return ! $element->isReadonly();
17
+                return !$element->isReadonly();
18 18
             }
19 19
 
20 20
             return true;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function onlyVisible()
28 28
     {
29
-        return $this->filter(function ($element) {
29
+        return $this->filter(function($element) {
30 30
             if ($element instanceof FormElementInterface) {
31 31
                 return $element->isVisible();
32 32
             }
Please login to merge, or discard this patch.
src/Display/DisplayTabsCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function onlyActive()
15 15
     {
16
-        return $this->filter(function (TabInterface $tab) {
16
+        return $this->filter(function(TabInterface $tab) {
17 17
             $element = $tab->getContent();
18 18
 
19 19
             if ($element instanceof FormElementInterface) {
20
-                return ! $element->isReadonly();
20
+                return !$element->isReadonly();
21 21
             }
22 22
 
23 23
             return true;
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function onlyVisible()
31 31
     {
32
-        return $this->filter(function (TabInterface $tab) {
32
+        return $this->filter(function(TabInterface $tab) {
33 33
             return $tab->isVisible();
34 34
         });
35 35
     }
Please login to merge, or discard this patch.
src/AliasBinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     public function __call($name, $arguments)
93 93
     {
94
-        if (! $this->hasAlias($name)) {
94
+        if (!$this->hasAlias($name)) {
95 95
             throw new BadMethodCallException($name);
96 96
         }
97 97
 
Please login to merge, or discard this patch.
src/Traits/SqlQueryOperators.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function setOperator($operator)
56 56
     {
57
-        if (! array_key_exists($operator, $this->sqlOperators)) {
57
+        if (!array_key_exists($operator, $this->sqlOperators)) {
58 58
             throw new FilterOperatorException("Operator [$operator] not found");
59 59
         }
60 60
 
@@ -117,13 +117,13 @@  discard block
 block discarded – undo
117 117
                 break;
118 118
             case 'whereBetween':
119 119
             case 'whereNotBetween':
120
-                if (! is_array($value)) {
120
+                if (!is_array($value)) {
121 121
                     $value = explode(',', $value, 2);
122 122
                 }
123 123
                 break;
124 124
             case 'whereIn':
125 125
             case 'whereNotIn':
126
-                if (! is_array($value)) {
126
+                if (!is_array($value)) {
127 127
                     $value = explode(',', $value);
128 128
                 }
129 129
                 break;
Please login to merge, or discard this patch.
src/Auth/Administrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function setPasswordAttribute($value)
34 34
     {
35
-        if (! empty($value)) {
35
+        if (!empty($value)) {
36 36
             $this->attributes['password'] = bcrypt($value);
37 37
         }
38 38
     }
Please login to merge, or discard this patch.
src/Console/Commands/UserManagerCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             return;
70 70
         }
71 71
 
72
-        if (! is_null($userClass::where('email', $email)->first())) {
72
+        if (!is_null($userClass::where('email', $email)->first())) {
73 73
             $this->error("User with same email [{$email}] exists.");
74 74
 
75 75
             return;
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         }
121 121
 
122 122
         $confirm = $this->confirm("Are you sure want to delete user with id [{$id}]?", false);
123
-        if (! $confirm) {
123
+        if (!$confirm) {
124 124
             return;
125 125
         }
126 126
 
Please login to merge, or discard this patch.
src/Console/Installation/Command.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
      */
29 29
     public function fire(Filesystem $files)
30 30
     {
31
-        if (! defined('SLEEPINGOWL_STUB_PATH')) {
31
+        if (!defined('SLEEPINGOWL_STUB_PATH')) {
32 32
             define('SLEEPINGOWL_STUB_PATH', __DIR__.'/stubs');
33 33
         }
34 34
 
35
-        if (! $this->confirmToProceed('SleepingOwl Admin')) {
35
+        if (!$this->confirmToProceed('SleepingOwl Admin')) {
36 36
             return;
37 37
         }
38 38
 
Please login to merge, or discard this patch.