@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Send the given notification. |
| 26 | 26 | * |
| 27 | - * @param mixed $notifiable |
|
| 27 | + * @param Test\TestNotifiable $notifiable |
|
| 28 | 28 | * @param \Illuminate\Notifications\Notification $notification |
| 29 | 29 | * |
| 30 | 30 | * @throws InvalidPostContentException |
@@ -25,6 +25,9 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | private $apiEndpoint = 'me/feed'; |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $postContent |
|
| 30 | + */ |
|
| 28 | 31 | public function __construct($postContent) |
| 29 | 32 | { |
| 30 | 33 | $this->content = $postContent; |
@@ -53,7 +56,7 @@ discard block |
||
| 53 | 56 | |
| 54 | 57 | /** |
| 55 | 58 | * Set facebook post image |
| 56 | - * @param string $link |
|
| 59 | + * @param string $imagePath |
|
| 57 | 60 | * @return $this |
| 58 | 61 | */ |
| 59 | 62 | public function withImage($imagePath,$endpoint = 'me/photos') |
@@ -63,7 +66,7 @@ discard block |
||
| 63 | 66 | } |
| 64 | 67 | /** |
| 65 | 68 | * Set facebook post image |
| 66 | - * @param string $link |
|
| 69 | + * @param string $videoPath |
|
| 67 | 70 | * @return $this |
| 68 | 71 | */ |
| 69 | 72 | public function withVideo($videoPath,$data = [],$endpoint = 'me/videos') |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | use \Illuminate\Notifications\Notifiable; |
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | - * @return int |
|
| 82 | + * @return boolean |
|
| 83 | 83 | */ |
| 84 | 84 | public function routeNotificationForFacebookPoster() |
| 85 | 85 | { |