File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ function slack(...$args)
45
45
{
46
46
$ instance = new LaravelDeveloper ;
47
47
48
- collect ($ args )->each (function ($ item ) use ($ instance ) {
48
+ collect ($ args )->each (function ($ item ) use ($ instance ) {
49
49
if (is_string ($ item )) {
50
50
$ instance ::messageToDevSlack ($ item );
51
51
}
Original file line number Diff line number Diff line change 3
3
namespace Binarcode \LaravelDeveloper \Tests \Helpers ;
4
4
5
5
use Binarcode \LaravelDeveloper \LaravelDeveloper ;
6
- use Binarcode \LaravelDeveloper \Models \ExceptionLog ;
7
6
use Binarcode \LaravelDeveloper \Notifications \DevNotification ;
8
- use Binarcode \LaravelDeveloper \Tests \Mock \PayloadMock ;
9
7
use Binarcode \LaravelDeveloper \Tests \TestCase ;
10
8
use Exception ;
11
9
use Illuminate \Notifications \AnonymousNotifiable ;
@@ -37,5 +35,4 @@ public function test_slack_helper_can_send_throwable_to_slack()
37
35
38
36
Notification::assertSentTo (new AnonymousNotifiable , DevNotification::class);
39
37
}
40
-
41
38
}
You can’t perform that action at this time.
0 commit comments