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
Pull Request — master (#56)
by halfpastfour
03:05 queued 56s
created
src/Options/Scales/Ticks.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      */
182 182
     public function setAutoSkip($autoSkip)
183 183
     {
184
-        $this->autoSkip = ! ! $autoSkip;
184
+        $this->autoSkip = !!$autoSkip;
185 185
 
186 186
         return $this;
187 187
     }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      */
242 242
     public function setDisplay($display)
243 243
     {
244
-        $this->display = ! ! $display;
244
+        $this->display = !!$display;
245 245
 
246 246
         return $this;
247 247
     }
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
      */
402 402
     public function setMirror($mirror)
403 403
     {
404
-        $this->mirror = ! ! $mirror;
404
+        $this->mirror = !!$mirror;
405 405
 
406 406
         return $this;
407 407
     }
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
      */
442 442
     public function setReverse($reverse)
443 443
     {
444
-        $this->reverse = ! ! $reverse;
444
+        $this->reverse = !!$reverse;
445 445
 
446 446
         return $this;
447 447
     }
@@ -471,6 +471,6 @@  discard block
 block discarded – undo
471 471
      */
472 472
     public function jsonSerialize()
473 473
     {
474
-        return Json::encode($this->getArrayCopy(), false, ['enableJsonExprFinder' => true]);
474
+        return Json::encode($this->getArrayCopy(), false, [ 'enableJsonExprFinder' => true ]);
475 475
     }
476 476
 }
Please login to merge, or discard this patch.
src/Options/Scales/XAxisCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
      */
17 17
     public function getArrayCopy()
18 18
     {
19
-        $rows = [];
19
+        $rows = [ ];
20 20
         foreach ($this->data as $row) {
21 21
             /** @var XAxis $row */
22
-            $rows[] = $row->getArrayCopy();
22
+            $rows[ ] = $row->getArrayCopy();
23 23
         }
24 24
 
25 25
         return $rows;
Please login to merge, or discard this patch.
src/Options/Scales/GridLines.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         if (is_array($color)) {
113 113
             array_walk_recursive(
114 114
                 $color,
115
-                function (&$value) {
115
+                function(&$value) {
116 116
                     $value = strval($value);
117 117
                 }
118 118
             );
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         if (is_array($borderDash)) {
143 143
             array_walk_recursive(
144 144
                 $borderDash,
145
-                function (&$value) {
145
+                function(&$value) {
146 146
                     $value = floatval($value);
147 147
                 }
148 148
             );
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
         if (is_array($lineWidth)) {
191 191
             array_walk_recursive(
192 192
                 $lineWidth,
193
-                function (&$value) {
193
+                function(&$value) {
194 194
                     $value = intval($value);
195 195
                 }
196 196
             );
Please login to merge, or discard this patch.
src/Options/Scales/ScaleLabel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     public function setDisplay($display)
61 61
     {
62
-        $this->display = ! ! $display;
62
+        $this->display = !!$display;
63 63
 
64 64
         return $this;
65 65
     }
Please login to merge, or discard this patch.
src/Options/Hover.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function setIntersect($intersect)
72 72
     {
73
-        $this->intersect = ! ! $intersect;
73
+        $this->intersect = !!$intersect;
74 74
 
75 75
         return $this;
76 76
     }
Please login to merge, or discard this patch.
src/Options/Scale.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
      */
208 208
     public function setStacked($stacked)
209 209
     {
210
-        $this->stacked = ! ! $stacked;
210
+        $this->stacked = !!$stacked;
211 211
 
212 212
         return $this;
213 213
     }
Please login to merge, or discard this patch.
src/Options/Tooltips.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      */
192 192
     public function setEnabled($enabled)
193 193
     {
194
-        $this->enabled = ! ! $enabled;
194
+        $this->enabled = !!$enabled;
195 195
 
196 196
         return $this;
197 197
     }
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      */
252 252
     public function setIntersect($intersect)
253 253
     {
254
-        $this->intersect = ! ! $intersect;
254
+        $this->intersect = !!$intersect;
255 255
 
256 256
         return $this;
257 257
     }
@@ -791,7 +791,7 @@  discard block
 block discarded – undo
791 791
      */
792 792
     public function setDisplayColors($displayColors)
793 793
     {
794
-        $this->displayColors = ! ! $displayColors;
794
+        $this->displayColors = !!$displayColors;
795 795
 
796 796
         return $this;
797 797
     }
Please login to merge, or discard this patch.
src/Options/Title.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function setDisplay($display)
76 76
     {
77
-        $this->display = ! ! $display;
77
+        $this->display = !!$display;
78 78
 
79 79
         return $this;
80 80
     }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function setFullWidth($fullWidth)
116 116
     {
117
-        $this->fullWidth = ! ! $fullWidth;
117
+        $this->fullWidth = !!$fullWidth;
118 118
 
119 119
         return $this;
120 120
     }
Please login to merge, or discard this patch.
src/DataSetCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
      */
17 17
     public function getArrayCopy()
18 18
     {
19
-        $rows   = [];
19
+        $rows = [ ];
20 20
         foreach ($this->data as $row) {
21 21
             /** @var DataSet $row */
22
-            $rows[] = $row->getArrayCopy();
22
+            $rows[ ] = $row->getArrayCopy();
23 23
         }
24 24
 
25 25
         return $rows;
Please login to merge, or discard this patch.