@@ -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; |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | 101 | * Check if the message length is too long. |
| 102 | - * @param $content |
|
| 102 | + * @param string $content |
|
| 103 | 103 | * @param $brevity |
| 104 | 104 | * @return int |
| 105 | 105 | */ |