@@ -101,8 +101,8 @@ |
||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * Check if the message length is too long |
| 104 | - * @param $content |
|
| 105 | - * @param $brevity |
|
| 104 | + * @param string $content |
|
| 105 | + * @param Brevity $brevity |
|
| 106 | 106 | * @return int |
| 107 | 107 | */ |
| 108 | 108 | private function messageIsTooLong($content, $brevity) |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | */ |
| 47 | 47 | public function withImage($images) |
| 48 | 48 | { |
| 49 | - collect($images)->each(function ($image) { |
|
| 49 | + collect($images)->each(function($image) { |
|
| 50 | 50 | $this->images[] = new TwitterImage($image); |
| 51 | 51 | }); |
| 52 | 52 | |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | public static function statusUpdateTooLong($exceededLength) |
| 15 | 15 | { |
| 16 | - return new static("Couldn't post Notification, because the status message was too long by " . |
|
| 17 | - $exceededLength . " character(s)."); |
|
| 16 | + return new static("Couldn't post Notification, because the status message was too long by ". |
|
| 17 | + $exceededLength." character(s)."); |
|
| 18 | 18 | } |
| 19 | 19 | } |