Skip to content

Commit 9620c9b

Browse files
cretueusebiuStyleCIBot
authored andcommitted
Applied fixes from StyleCI
1 parent 55c78ec commit 9620c9b

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

tests/ChannelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function it_will_delete_invalid_subscriptions()
6363
->once()
6464
->andReturn([
6565
['success' => true],
66-
['success' => false]
66+
['success' => false],
6767
]);
6868

6969
$this->testUser->updatePushSubscription('valid_endpoint');

tests/MessageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ public function setUp()
1919
/** @test */
2020
public function it_can_accept_a_body_when_constructing_a_message()
2121
{
22-
$message = new WebPushMessage('Message body');
22+
$message = new WebPushMessage('Message body');
2323

24-
$this->assertEquals('Message body', $message->toArray()['body']);
24+
$this->assertEquals('Message body', $message->toArray()['body']);
2525
}
2626

2727
/** @test */

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected function initializeDirectory($directory)
6969
if (File::isDirectory($directory)) {
7070
File::deleteDirectory($directory);
7171
}
72-
if (!File::exists($directory)) {
72+
if (! File::exists($directory)) {
7373
File::makeDirectory($directory);
7474
}
7575
}

tests/TestNotification.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Illuminate\Notifications\Notification;
66
use NotificationChannels\WebPush\WebPushMessage;
7-
use NotificationChannels\WebPush\WebPushChannel;
87

98
class TestNotification extends Notification
109
{

0 commit comments

Comments
 (0)