@@ -15,7 +15,7 @@ public function __construct(protected TwitterOAuth $twitter)
15
15
/**
16
16
* Send the given notification.
17
17
*
18
- * @param mixed $notifiable Should be an object that uses the Illuminate\Notifications\Notifiable trait.
18
+ * @param mixed $notifiable Should be an object that uses the Illuminate\Notifications\Notifiable trait.
19
19
*
20
20
* @throws CouldNotSendNotification
21
21
*/
@@ -52,7 +52,7 @@ public function send($notifiable, Notification $notification): array|object
52
52
/**
53
53
* Use per user settings instead of default ones.
54
54
*
55
- * @param object $notifiable Provide an object that uses the Illuminate\Notifications\Notifiable trait.
55
+ * @param object $notifiable Provide an object that uses the Illuminate\Notifications\Notifiable trait.
56
56
*/
57
57
private function changeTwitterSettingsIfNeeded (object $ notifiable )
58
58
{
@@ -97,9 +97,9 @@ private function addVideosIfGiven(TwitterMessage $twitterMessage): object
97
97
98
98
$ twitterMessage ->videoIds = collect ($ twitterMessage ->getVideos ())->map (function (TwitterVideo $ video ) {
99
99
$ media = $ this ->twitter ->upload ('media/upload ' , [
100
- 'media ' => $ video ->getPath (),
100
+ 'media ' => $ video ->getPath (),
101
101
'media_category ' => 'tweet_video ' ,
102
- 'media_type ' => $ video ->getMimeType (),
102
+ 'media_type ' => $ video ->getMimeType (),
103
103
], true );
104
104
105
105
$ status = $ this ->twitter ->mediaStatus ($ media ->media_id_string );
0 commit comments