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 (#90)
by
unknown
04:35
created
src/Message.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -335,7 +335,7 @@
 block discarded – undo
335 335
         } elseif (is_array($attachment)) {
336 336
             $attachmentObject = new Attachment($attachment);
337 337
 
338
-            if (! isset($attachment['mrkdwn_in'])) {
338
+            if ( ! isset($attachment['mrkdwn_in'])) {
339 339
                 $attachmentObject->setMarkdownFields($this->getMarkdownInAttachments());
340 340
             }
341 341
 
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      * Slack's Markdown-like language.
224 224
      *
225 225
      * @param bool $value
226
-     * @return void
226
+     * @return Message
227 227
      */
228 228
     public function setAllowMarkdown($value)
229 229
     {
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
     /**
236 236
      * Enable Markdown formatting for the message.
237 237
      *
238
-     * @return void
238
+     * @return Message
239 239
      */
240 240
     public function enableMarkdown()
241 241
     {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
     /**
248 248
      * Disable Markdown formatting for the message.
249 249
      *
250
-     * @return void
250
+     * @return Message
251 251
      */
252 252
     public function disableMarkdown()
253 253
     {
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
      * in Slack's Markdown-like language.
273 273
      *
274 274
      * @param array $fields
275
-     * @return void
275
+     * @return Message
276 276
      */
277 277
     public function setMarkdownInAttachments(array $fields)
278 278
     {
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
      * Send the message.
391 391
      *
392 392
      * @param string $text The text to send
393
-     * @return void
393
+     * @return Message
394 394
      */
395 395
     public function send($text = null)
396 396
     {
Please login to merge, or discard this patch.
src/Client.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -374,8 +374,7 @@
 block discarded – undo
374 374
                 }
375 375
             }
376 376
             return $this->guzzle->post($this->endpoint, ['form_params' => $payload]);
377
-        }
378
-        else {
377
+        } else {
379 378
             $encoded = json_encode($payload, JSON_UNESCAPED_UNICODE);
380 379
 
381 380
             if ($encoded === false) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -411,7 +411,7 @@
 block discarded – undo
411 411
         $payload['attachments'] = $this->getAttachmentsAsArrays($message);
412 412
 
413 413
         $payload = array_filter($payload, function($item) {
414
-            return !empty($item);
414
+            return ! empty($item);
415 415
         });
416 416
 
417 417
         return $payload;
Please login to merge, or discard this patch.
src/Attachment.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
     /**
253 253
      * Set the callback_id.
254 254
      *
255
-     * @param string $fallback
255
+     * @param string $callback_id
256 256
      * @return $this
257 257
      */
258 258
     public function setCallbackId($callback_id) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -735,7 +735,7 @@
 block discarded – undo
735 735
         $data['actions'] = $this->getActionsAsArrays();
736 736
 
737 737
         $data = array_filter($data, function($item) {
738
-            return !empty($item);
738
+            return ! empty($item);
739 739
         });
740 740
 
741 741
         return $data;
Please login to merge, or discard this patch.
src/ActionConfirmation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         ];
149 149
 
150 150
         $ret = array_filter($ret, function($item) {
151
-            return !empty($item);
151
+            return ! empty($item);
152 152
         });
153 153
 
154 154
         return $ret;
Please login to merge, or discard this patch.
src/AttachmentAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@
 block discarded – undo
230 230
         }
231 231
 
232 232
         $ret = array_filter($ret, function($item) {
233
-            return !empty($item);
233
+            return ! empty($item);
234 234
         });
235 235
 
236 236
         return $ret;
Please login to merge, or discard this patch.
src/AttachmentField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         ];
149 149
 
150 150
         $ret = array_filter($ret, function($item) {
151
-            return !empty($item);
151
+            return ! empty($item);
152 152
         });
153 153
 
154 154
         return $ret;
Please login to merge, or discard this patch.