Skip to content

Commit fdaaca1

Browse files
author
Christoph Rumpel
committed
More style fixes
1 parent 3d875b0 commit fdaaca1

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

src/Exceptions/CouldNotSendNotification.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ public static function serviceRespondedWithAnError($response)
1313

1414
public static function statusUpdateTooLong($exceededLength)
1515
{
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 ".$exceededLength." character(s).");
1817
}
1918
}

tests/TwitterChannelTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use stdClass;
77
use Orchestra\Testbench\TestCase;
88
use Abraham\TwitterOAuth\TwitterOAuth;
9-
use NotificationChannels\Twitter\Twitter;
109
use Illuminate\Notifications\Notification;
1110
use NotificationChannels\Twitter\TwitterChannel;
1211
use NotificationChannels\Twitter\TwitterStatusUpdate;
@@ -84,7 +83,6 @@ public function it_throws_an_exception_when_it_could_not_send_the_notification()
8483
}
8584
}
8685

87-
8886
class TestNotifiable
8987
{
9088
use \Illuminate\Notifications\Notifiable;
@@ -100,7 +98,6 @@ public function routeNotificationForTwitter()
10098

10199
class TestNotification extends Notification
102100
{
103-
104101
public function toTwitter($notifiable)
105102
{
106103
return new TwitterStatusUpdate('Laravel Notification Channels are awesome!');

tests/TwitterImageTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ public function it_accepts_an_image_path_when_constructing_a_twitter_image()
1414
$this->assertEquals('/foo/bar/baz.png', $image->getPath());
1515
}
1616
}
17-

0 commit comments

Comments
 (0)