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 (1144d9)
by butschster
09:48
created
src/Display/Extension/ColumnFilters.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @return Collection|\SleepingOwl\Admin\Contracts\ActionInterface[]
51
+     * @return ColumnFilterInterface[]
52 52
      */
53 53
     public function all()
54 54
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function set($columnFilters)
37 37
     {
38
-        if (! is_array($columnFilters)) {
38
+        if (!is_array($columnFilters)) {
39 39
             $columnFilters = func_get_args();
40 40
         }
41 41
 
@@ -173,13 +173,13 @@  discard block
 block discarded – undo
173 173
 
174 174
         $display = $this->getDisplay();
175 175
 
176
-        if (! $display->getExtensions()->has('columns')) {
176
+        if (!$display->getExtensions()->has('columns')) {
177 177
             return;
178 178
         }
179 179
 
180 180
         $columns = $display->getColumns()->all();
181 181
 
182
-        if (! is_int(key($search))) {
182
+        if (!is_int(key($search))) {
183 183
             $search = [$search];
184 184
         }
185 185
 
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 
217 217
     protected function prepareView()
218 218
     {
219
-        if (! in_array($this->getPlacement(), ['table.footer', 'table.header']) && $this->view == 'display.extensions.columns_filters_table') {
219
+        if (!in_array($this->getPlacement(), ['table.footer', 'table.header']) && $this->view == 'display.extensions.columns_filters_table') {
220 220
             $this->view = 'display.extensions.columns_filters';
221 221
             $this->setHtmlAttribute('class', 'table table-default');
222 222
         }
Please login to merge, or discard this patch.
src/Display/Extension/Scopes.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param array|string $scopes
24 24
      *
25
-     * @return $this
25
+     * @return \SleepingOwl\Admin\Contracts\DisplayInterface
26 26
      */
27 27
     public function set($scopes)
28 28
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function push($scope)
40 40
     {
41
-        if (! is_array($scope)) {
41
+        if (!is_array($scope)) {
42 42
             $scope = func_get_args();
43 43
         }
44 44
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     public function modifyQuery(Builder $query)
66 66
     {
67 67
         foreach ($this->scopes as $scope) {
68
-            if (! is_null($scope)) {
68
+            if (!is_null($scope)) {
69 69
                 if (is_array($scope)) {
70 70
                     $method = array_shift($scope);
71 71
                     $params = $scope;
Please login to merge, or discard this patch.
src/Form/Columns/Column.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @return string
51
+     * @return integer
52 52
      */
53 53
     public function getSize()
54 54
     {
Please login to merge, or discard this patch.
src/Traits/OrderableModel.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     /**
47 47
      * Move model in the $destination.
48 48
      *
49
-     * @param $destination -1 (move down) or 1 (move up)
49
+     * @param integer $destination -1 (move down) or 1 (move up)
50 50
      */
51 51
     protected function move($destination)
52 52
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@
 block discarded – undo
9 9
      */
10 10
     protected static function bootOrderableModel()
11 11
     {
12
-        static::creating(function ($row) {
12
+        static::creating(function($row) {
13 13
             $row->updateOrderFieldOnCreate();
14 14
         });
15 15
 
16
-        static::deleted(function ($row) {
16
+        static::deleted(function($row) {
17 17
             $row->updateOrderFieldOnDelete();
18 18
         });
19 19
     }
Please login to merge, or discard this patch.
src/Wysiwyg/Manager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * @param string $editorId
82 82
      *
83
-     * @return bool
83
+     * @return boolean|null
84 84
      */
85 85
     public function loadEditor($editorId)
86 86
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public function getEditor($editorId)
69 69
     {
70
-        return $this->getFilters()->filter(function (WysiwygEditorInterface $editor) use ($editorId) {
70
+        return $this->getFilters()->filter(function(WysiwygEditorInterface $editor) use ($editorId) {
71 71
             return $editor->getId() == $editorId;
72 72
         })->first();
73 73
     }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function loadEditor($editorId)
86 86
     {
87
-        if (! is_null($editor = $this->getEditor($editorId))) {
87
+        if (!is_null($editor = $this->getEditor($editorId))) {
88 88
             if ($editor->isUsed()) {
89 89
                 return true;
90 90
             }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function applyFilter($editorId, $text)
106 106
     {
107
-        if (! is_null($editor = $this->getEditor($editorId))) {
107
+        if (!is_null($editor = $this->getEditor($editorId))) {
108 108
             return $editor->applyFilter($text);
109 109
         }
110 110
 
Please login to merge, or discard this patch.
src/Display/Filter/FilterRelated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function setModel($model)
56 56
     {
57
-        if (! class_exists($model)) {
57
+        if (!class_exists($model)) {
58 58
             throw new Exception("Class model [$model] not found");
59 59
         }
60 60
 
Please login to merge, or discard this patch.
src/Display/Column/Custom.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function __construct($label = null, Closure $callback = null)
29 29
     {
30 30
         parent::__construct($label);
31
-        if (! is_null($callback)) {
31
+        if (!is_null($callback)) {
32 32
             $this->setCallback($callback);
33 33
         }
34 34
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     protected function getValue(Model $model)
65 65
     {
66
-        if (! is_callable($callback = $this->getCallback())) {
66
+        if (!is_callable($callback = $this->getCallback())) {
67 67
             throw new \Exception('Invalid custom column callback');
68 68
         }
69 69
 
Please login to merge, or discard this patch.
src/Display/Column/Image.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     public function toArray()
47 47
     {
48 48
         $value = $this->getModelValue();
49
-        if (! empty($value) && (strpos($value, '://') === false)) {
49
+        if (!empty($value) && (strpos($value, '://') === false)) {
50 50
             $value = asset($value);
51 51
         }
52 52
 
Please login to merge, or discard this patch.
src/Display/Extension/Actions.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function set($actions)
51 51
     {
52
-        if (! is_array($actions)) {
52
+        if (!is_array($actions)) {
53 53
             $actions = func_get_args();
54 54
         }
55 55
 
@@ -145,13 +145,13 @@  discard block
 block discarded – undo
145 145
             return;
146 146
         }
147 147
 
148
-        $this->all()->each(function (ActionInterface $action) {
148
+        $this->all()->each(function(ActionInterface $action) {
149 149
             $action->initialize();
150 150
         });
151 151
 
152 152
         $this->setHtmlAttribute('data-type', 'display-actions');
153 153
 
154
-        if (! $this->hasHtmlAttribute('class')) {
154
+        if (!$this->hasHtmlAttribute('class')) {
155 155
             $this->setHtmlAttribute('class', 'panel-footer');
156 156
         }
157 157
     }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param array|string $scopes
24 24
      *
25
-     * @return $this
25
+     * @return \SleepingOwl\Admin\Contracts\DisplayInterface
26 26
      */
27 27
     public function set($scopes)
28 28
     {
Please login to merge, or discard this patch.