File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed
Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public static function create($body = '')
1616
1717 public function __construct ($ body = '' )
1818 {
19- if (!empty ($ body )) {
19+ if (! empty ($ body )) {
2020 $ this ->body = trim ($ body );
2121 }
2222 }
@@ -52,15 +52,14 @@ public function setReference($reference)
5252
5353 return $ this ;
5454 }
55-
55+
5656 public function setDatacoding ($ datacoding )
5757 {
5858 $ this ->datacoding = $ datacoding ;
5959
6060 return $ this ;
6161 }
6262
63-
6463 public function toJson ()
6564 {
6665 return json_encode ($ this );
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Messagebird ;
44
5- use Illuminate \Support \ServiceProvider ;
65use GuzzleHttp \Client ;
6+ use Illuminate \Support \ServiceProvider ;
77use NotificationChannels \Messagebird \Exceptions \InvalidConfiguration ;
88
99class MessagebirdServiceProvider extends ServiceProvider
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Messagebird \Test ;
44
5+ use Mockery ;
56use GuzzleHttp \Client ;
7+ use PHPUnit_Framework_TestCase ;
68use Illuminate \Notifications \Notifiable ;
79use Illuminate \Notifications \Notification ;
8- use Mockery ;
9- use NotificationChannels \Messagebird \MessagebirdChannel ;
1010use NotificationChannels \Messagebird \MessagebirdClient ;
11+ use NotificationChannels \Messagebird \MessagebirdChannel ;
1112use NotificationChannels \Messagebird \MessagebirdMessage ;
12- use PHPUnit_Framework_TestCase ;
1313
1414class MessagebirdChannelTest extends PHPUnit_Framework_TestCase
1515{
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Messagebird \Test ;
44
5- use GuzzleHttp \Client ;
65use Mockery ;
6+ use GuzzleHttp \Client ;
7+ use PHPUnit_Framework_TestCase ;
78use NotificationChannels \Messagebird \MessagebirdClient ;
89use NotificationChannels \Messagebird \MessagebirdMessage ;
9- use PHPUnit_Framework_TestCase ;
1010
1111class MessagebirdClientTest extends PHPUnit_Framework_TestCase
1212{
You can’t perform that action at this time.
0 commit comments