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 ( 859d66...4f628a )
by やかみ
01:26
created
src/Http/Response.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -120,6 +120,7 @@
 block discarded – undo
120 120
     /**
121 121
      * Set current charset
122 122
      *
123
+     * @param string $charset
123 124
      * @return void
124 125
      */
125 126
     public function setCharset($charset = null)
Please login to merge, or discard this patch.
src/Http/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -331,7 +331,7 @@
 block discarded – undo
331 331
     {
332 332
         $possibleHostSources = ['HTTP_X_FORWARDED_HOST', 'HTTP_HOST', 'SERVER_NAME', 'SERVER_ADDR'];
333 333
         $sourceTransformations = [
334
-            "HTTP_X_FORWARDED_HOST" => function ($value) {
334
+            "HTTP_X_FORWARDED_HOST" => function($value) {
335 335
                 $elements = explode(',', $value);
336 336
                 return trim(end($elements));
337 337
             },
Please login to merge, or discard this patch.
src/Core/Handle.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -363,6 +363,13 @@
 block discarded – undo
363 363
      * @return string
364 364
      */
365 365
     // @codingStandardsIgnoreStart
366
+
367
+    /**
368
+     * @param string $type
369
+     * @param integer $message
370
+     * @param integer $line
371
+     * @param string $file
372
+     */
366 373
     protected static function renderErrorText($type, $message, $line, $file)
367 374
     {
368 375
         return $message . ' in ' . $file . ' on line ' . $line;
Please login to merge, or discard this patch.
src/Core/Cache/Dummy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @param   string  $id
94 94
      * @param   int     $offset
95
-     * @return  mixed
95
+     * @return  boolean
96 96
      */
97 97
     public function increment($id, $offset = 1)
98 98
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      *
105 105
      * @param   string $id
106 106
      * @param   int    $offset
107
-     * @return  mixed
107
+     * @return  boolean
108 108
      */
109 109
     public function decrement($id, $offset = 1)
110 110
     {
Please login to merge, or discard this patch.
src/Core/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
      * Set the specified config item
136 136
      *
137 137
      * @param  string $key
138
-     * @param  mixed  $value
138
+     * @param  string  $value
139 139
      * @return void
140 140
      *
141 141
      * @throws \Kotori\Exception\ConfigException
Please login to merge, or discard this patch.
src/Http/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
         $_REQUEST = array_merge($_POST, $_GET, $_COOKIE);
194 194
 
195 195
         if (Container::get('config')->get('app_debug')) {
196
-            Container::get('response')->setHeader('X-Kotori-Hash', call_user_func(function () {
196
+            Container::get('response')->setHeader('X-Kotori-Hash', call_user_func(function() {
197 197
                 $lockFile = Helper::getComposerVendorPath() . '/../composer.lock';
198 198
                 if (!Helper::isFile($lockFile)) {
199 199
                     return 'unknown';
Please login to merge, or discard this patch.
src/Core/Database.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * Get singleton
69 69
      *
70
+     * @param string $key
70 71
      * @return object
71 72
      *
72 73
      * @throws \Kotori\Exception\DatabaseException
@@ -104,7 +105,6 @@  discard block
 block discarded – undo
104 105
      *
105 106
      * Initialize Database.
106 107
      *
107
-     * @param  array $config
108 108
      * @return void
109 109
      */
110 110
     public function __construct($options = [])
Please login to merge, or discard this patch.