@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace NotificationChannels\Twitter; |
4 | 4 | |
5 | 5 | use Abraham\TwitterOAuth\TwitterOAuth; |
6 | -use Illuminate\Notifications\Notifiable; |
|
7 | 6 | use Illuminate\Notifications\Notification; |
8 | 7 | use NotificationChannels\Twitter\Exceptions\CouldNotSendNotification; |
9 | 8 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | if (is_a($twitterMessage, TwitterStatusUpdate::class) && $twitterMessage->getImages()) { |
40 | 40 | $this->twitter->setTimeouts(10, 15); |
41 | 41 | |
42 | - $twitterMessage->imageIds = collect($twitterMessage->getImages())->map(function (TwitterImage $image) { |
|
42 | + $twitterMessage->imageIds = collect($twitterMessage->getImages())->map(function(TwitterImage $image) { |
|
43 | 43 | $media = $this->twitter->upload('media/upload', ['media' => $image->getPath()]); |
44 | 44 | |
45 | 45 | return $media->media_id_string; |
@@ -101,7 +101,7 @@ |
||
101 | 101 | |
102 | 102 | /** |
103 | 103 | * Check if the message length is too long |
104 | - * @param $content |
|
104 | + * @param string $content |
|
105 | 105 | * @param $brevity |
106 | 106 | * @return int |
107 | 107 | */ |