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 (#48)
by Regan
03:46 queued 01:37
created
src/Attachment.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -287,8 +287,8 @@  discard block
 block discarded – undo
287 287
     /**
288 288
      * Set the color to use for the attachment.
289 289
      *
290
-     * @param string $colour
291
-     * @return void
290
+     * @param string $color
291
+     * @return Attachment
292 292
      */
293 293
     public function setColor($color)
294 294
     {
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      * Set the title to use for the attachment.
312 312
      *
313 313
      * @param string $title
314
-     * @return void
314
+     * @return Attachment
315 315
      */
316 316
     public function setTitle($title)
317 317
     {
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
      * Set the title link to use for the attachment.
335 335
      *
336 336
      * @param string $title_link
337
-     * @return void
337
+     * @return Attachment
338 338
      */
339 339
     public function setTitleLink($title_link)
340 340
     {
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
      * Set the author name to use for the attachment.
358 358
      *
359 359
      * @param string $author_name
360
-     * @return void
360
+     * @return Attachment
361 361
      */
362 362
     public function setAuthorName($author_name)
363 363
     {
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
      * Set the auhtor link to use for the attachment.
381 381
      *
382 382
      * @param string $author_link
383
-     * @return void
383
+     * @return Attachment
384 384
      */
385 385
     public function setAuthorLink($author_link)
386 386
     {
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
      * Set the author icon to use for the attachment.
404 404
      *
405 405
      * @param string $author_icon
406
-     * @return void
406
+     * @return Attachment
407 407
      */
408 408
     public function setAuthorIcon($author_icon)
409 409
     {
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
      * Set the fields for the attachment.
427 427
      *
428 428
      * @param array $fields
429
-     * @return void
429
+     * @return Attachment
430 430
      */
431 431
     public function setFields(array $fields)
432 432
     {
Please login to merge, or discard this patch.
src/Message.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
      * Set the icon (either URL or emoji) we will post as.
177 177
      *
178 178
      * @param string $icon
179
-     * @return this
179
+     * @return null|Message
180 180
      */
181 181
     public function setIcon($icon)
182 182
     {
@@ -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
     {
Please login to merge, or discard this patch.
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.
src/SlackServiceProvider.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Return the service provider for the particular Laravel version.
59 59
      *
60
-     * @return mixed
60
+     * @return SlackServiceProviderLaravel4
61 61
      */
62 62
     private function getProvider()
63 63
     {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Get the services provided by the provider.
82 82
      *
83
-     * @return array
83
+     * @return string[]
84 84
      */
85 85
     public function provides()
86 86
     {
Please login to merge, or discard this patch.
src/SlackServiceProviderLaravel4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register()
26 26
     {
27
-        $this->app['maknz.slack'] = $this->app->share(function ($app) {
27
+        $this->app['maknz.slack'] = $this->app->share(function($app) {
28 28
             $allow_markdown = $app['config']->get('slack::allow_markdown');
29 29
 
30 30
             $markdown_in_attachments = $app['config']->get('slack::markdown_in_attachments');
Please login to merge, or discard this patch.
src/SlackServiceProviderLaravel5.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register()
26 26
     {
27
-        $this->app['maknz.slack'] = $this->app->share(function ($app) {
27
+        $this->app['maknz.slack'] = $this->app->share(function($app) {
28 28
             $allow_markdown = $app['config']->get('slack::allow_markdown');
29 29
 
30 30
             $markdown_in_attachments = $app['config']->get('slack::markdown_in_attachments');
Please login to merge, or discard this patch.