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 (#191)
by Herbert
13:06
created
src/components/Version.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      * @param $id
83 83
      * @param $attribute
84 84
      * @param $version
85
-     * @return null|integer|float|string
85
+     * @return string|null
86 86
      */
87 87
     public static function findAttribute($class, $id, $attribute, $version)
88 88
     {
Please login to merge, or discard this patch.
src/panels/MailPanel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * @param Event $event
39
-     * @return null|static
39
+     * @return AuditMail|null
40 40
      */
41 41
     public function record($event)
42 42
     {
Please login to merge, or discard this patch.
src/Audit.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -373,12 +373,12 @@
 block discarded – undo
373 373
 
374 374
         // We now need one more iteration to add core classes to the panels added via the merge, if needed
375 375
         array_walk($this->panels, function(&$value, $key) {
376
-           if (!isset($value['class'])) {
377
-               if (isset($this->_corePanels[$key]))
378
-                   $value = ArrayHelper::merge($value, $this->_corePanels[$key]);
379
-               else
380
-                   throw new InvalidConfigException("Invalid configuration for '$key'. No 'class' specified.");
381
-           }
376
+            if (!isset($value['class'])) {
377
+                if (isset($this->_corePanels[$key]))
378
+                    $value = ArrayHelper::merge($value, $this->_corePanels[$key]);
379
+                else
380
+                    throw new InvalidConfigException("Invalid configuration for '$key'. No 'class' specified.");
381
+            }
382 382
         });
383 383
     }
384 384
 
Please login to merge, or discard this patch.
src/messages/config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     // and the '.svn' will match all files and directories named exactly '.svn'.
27 27
     // Note, the '/' characters in a pattern matches both '/' and '\'.
28 28
     // See helpers/FileHelper::findFiles() description for more details on pattern matching rules.
29
-     'only' => ['*.php', '*.js'],
29
+        'only' => ['*.php', '*.js'],
30 30
     // array, list of patterns that specify which files (not directories) should be processed.
31 31
     // If empty or not set, all files will be processed.
32 32
     // Please refer to "except" for details about the patterns.
Please login to merge, or discard this patch.
src/AuditTrailBehavior.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,8 +218,8 @@
 block discarded – undo
218 218
         $query = new Query;
219 219
 
220 220
         $query->select($queryParams['returnField'])
221
-              ->from($queryParams['tableName'])
222
-              ->where([$queryParams['searchField'] => $searchFieldValue]);
221
+                ->from($queryParams['tableName'])
222
+                ->where([$queryParams['searchField'] => $searchFieldValue]);
223 223
 
224 224
         $rows = $query->all();
225 225
 
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-     * @param $action
118
+     * @param string $action
119 119
      * @throws \yii\db\Exception
120 120
      */
121 121
     public function audit($action)
@@ -261,14 +261,14 @@  discard block
 block discarded – undo
261 261
     /**
262 262
      * Save the audit trails for a create or update action
263 263
      *
264
-     * @param $action
264
+     * @param string $action
265 265
      * @param $newAttributes
266 266
      * @param $oldAttributes
267 267
      * @param $entry_id
268 268
      * @param $user_id
269
-     * @param $model
269
+     * @param string $model
270 270
      * @param $model_id
271
-     * @param $created
271
+     * @param string $created
272 272
      * @throws \yii\db\Exception
273 273
      */
274 274
     protected function saveAuditTrail($action, $newAttributes, $oldAttributes, $entry_id, $user_id, $model, $model_id, $created)
Please login to merge, or discard this patch.