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 ( 5017b9...94fb56 )
by Rich
15s
created
src/Math.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
             $return  = strrev($this->encodeValue($hex, '58'));
321 321
 
322 322
             for ($i = 0; $i < strlen($orighex) && substr($orighex, $i, 2) == '00'; $i += 2) {
323
-                $return = '1' . $return;
323
+                $return = '1'.$return;
324 324
             }
325 325
 
326 326
             return $return;
@@ -356,10 +356,10 @@  discard block
 block discarded – undo
356 356
             $return = $this->encodeHex($return);
357 357
 
358 358
             for ($i = 0; $i < strlen($origbase58) && $origbase58[$i] == '1'; $i++) {
359
-                $return = '00' . $return;
359
+                $return = '00'.$return;
360 360
             }
361 361
 
362
-            return (strlen($return) % 2 != 0) ? '0' . $return : $return;
362
+            return (strlen($return) % 2 != 0) ? '0'.$return : $return;
363 363
 
364 364
         } catch (\Exception $e) {
365 365
             // TODO: Need to do something useful here instead of re-throwing the exception.
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
         foreach ($params as $key => $value) {
402 402
             if ($this->numberCheck($value) === false) {
403 403
                 $caller = debug_backtrace();
404
-                throw new \Exception('Empty or invalid parameters passed to ' . $caller[count($caller) - 1]['function'] . ' function.');
404
+                throw new \Exception('Empty or invalid parameters passed to '.$caller[count($caller) - 1]['function'].' function.');
405 405
             }
406 406
         }
407 407
     }
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
                 $qq  = $this->math->div($val, $base);
429 429
                 $rem = $this->math->mod($val, $base);
430 430
                 $val = $qq;
431
-                $new = $new . $digits[$rem];
431
+                $new = $new.$digits[$rem];
432 432
             }
433 433
 
434 434
             return $new;
Please login to merge, or discard this patch.