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 ( 1ad03a...70c655 )
by Christoph
08:50 queued 14s
created
src/TwitterStatusUpdate.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,11 +36,11 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @return $this
38 38
      */
39
-    public function withImage(array|string $images): static
39
+    public function withImage(array | string $images): static
40 40
     {
41 41
         $images = is_array($images) ? $images : [$images];
42 42
 
43
-        collect($images)->each(function ($image) {
43
+        collect($images)->each(function($image) {
44 44
             $this->images[] = new TwitterImage($image);
45 45
         });
46 46
 
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @return $this
54 54
      */
55
-    public function withVideo(array|string $videos): static
55
+    public function withVideo(array | string $videos): static
56 56
     {
57 57
         $videos = is_array($videos) ? $videos : [$videos];
58 58
 
59
-        collect($videos)->each(function ($video) {
59
+        collect($videos)->each(function($video) {
60 60
             $this->videos[] = new TwitterVideo($video);
61 61
         });
62 62
 
Please login to merge, or discard this patch.
src/TwitterChannel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      *
20 20
      * @throws CouldNotSendNotification
21 21
      */
22
-    public function send($notifiable, Notification $notification): array|object
22
+    public function send($notifiable, Notification $notification): array | object
23 23
     {
24 24
         $this->changeTwitterSettingsIfNeeded($notifiable);
25 25
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         if (is_a($twitterMessage, TwitterStatusUpdate::class) && $twitterMessage->getImages()) {
69 69
             $this->twitter->setTimeouts(10, 15);
70 70
 
71
-            $twitterMessage->imageIds = collect($twitterMessage->getImages())->map(function (TwitterImage $image) {
71
+            $twitterMessage->imageIds = collect($twitterMessage->getImages())->map(function(TwitterImage $image) {
72 72
                 $media = $this->twitter->upload('media/upload', ['media' => $image->getPath()]);
73 73
 
74 74
                 return $media->media_id_string;
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         if (is_a($twitterMessage, TwitterStatusUpdate::class) && $twitterMessage->getVideos()) {
87 87
             $this->twitter->setTimeouts(10, 15);
88 88
 
89
-            $twitterMessage->videoIds = collect($twitterMessage->getVideos())->map(function (TwitterVideo $video) {
89
+            $twitterMessage->videoIds = collect($twitterMessage->getVideos())->map(function(TwitterVideo $video) {
90 90
                 $media = $this->twitter->upload('media/upload', [
91 91
                     'media' => $video->getPath(),
92 92
                     'media_category' => 'tweet_video',
Please login to merge, or discard this patch.