1313
1414class SlackHelperTest extends TestCase
1515{
16- public function test_slack_helper_returns_laravel_developer_instance ()
16+ public function test_slack_helper_returns_laravel_developer_instance (): void
1717 {
1818 Notification::fake ();
1919
@@ -22,7 +22,7 @@ public function test_slack_helper_returns_laravel_developer_instance()
2222 $ this ->assertInstanceOf (Slack::class, slack (new Exception ()));
2323 }
2424
25- public function test_slack_helper_can_send_message_to_slack ()
25+ public function test_slack_helper_can_send_message_to_slack (): void
2626 {
2727 Notification::fake ();
2828
@@ -31,7 +31,7 @@ public function test_slack_helper_can_send_message_to_slack()
3131 Notification::assertSentTo (new AnonymousNotifiable (), DevNotification::class);
3232 }
3333
34- public function test_slack_helper_can_send_throwable_to_slack ()
34+ public function test_slack_helper_can_send_throwable_to_slack (): void
3535 {
3636 Notification::fake ();
3737
@@ -54,11 +54,11 @@ public function test_slack_helper_can_send_throwable_to_slack()
5454 DevNotification::class,
5555 function (DevNotification $ class ) use ($ uuid ) {
5656 return $ class ->notificationDto ->attachment_link === "app.test/ {$ uuid }" ;
57- }
57+ },
5858 );
5959 }
6060
61- public function test_slack_helper_can_send_notifications_to_slack ()
61+ public function test_slack_helper_can_send_notifications_to_slack (): void
6262 {
6363 Notification::fake ();
6464
@@ -68,7 +68,7 @@ public function test_slack_helper_can_send_notifications_to_slack()
6868 ]);
6969
7070 $ this ->assertInstanceOf (Slack::class, slack (
71- new DummyNotification ()
71+ new DummyNotification (),
7272 )->persist ());
7373
7474 Notification::assertSentTo (new AnonymousNotifiable (), DummyNotification::class);
0 commit comments