@@ -55,7 +55,7 @@ |
||
| 55 | 55 | return (new SlackMessage) |
| 56 | 56 | ->from(config('app.url')) |
| 57 | 57 | ->content("*Security Check Report:* `{$this->composerLockPath}`") |
| 58 | - ->attachment(function ($attachment) { |
|
| 58 | + ->attachment(function($attachment) { |
|
| 59 | 59 | $attachment->content($this->textFormatter())->markdown([ 'text' ]); |
| 60 | 60 | }); |
| 61 | 61 | } |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | // get the recipients and filter out any configuration mistakes |
| 58 | - $recipients = collect(config('laravel-security-checker.recipients', [ ]))->filter(function ($recipient) { |
|
| 58 | + $recipients = collect(config('laravel-security-checker.recipients', [ ]))->filter(function($recipient) { |
|
| 59 | 59 | return $recipient !== null && !empty($recipient); |
| 60 | 60 | }); |
| 61 | 61 | |