File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,14 @@ public function handle()
5555 }
5656
5757 // 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 ) {
5959 return $ recipient !== null && !empty ($ recipient );
6060 });
6161
6262 if ($ recipients ->count () === 0 ) {
63- $ this ->error (/** @scrutinizer ignore-type */ __ ('laravel-security-checker::messages.no_recipients_configured ' ));
63+ $ this ->error (
64+ /** @scrutinizer ignore-type */ __ ('laravel-security-checker::messages.no_recipients_configured ' )
65+ );
6466 return 1 ;
6567 }
6668
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function toSlack()
5555 return (new SlackMessage )
5656 ->from (config ('app.url ' ))
5757 ->content ("*Security Check Report:* ` {$ this ->composerLockPath }` " )
58- ->attachment (function ($ attachment ) {
58+ ->attachment (function ($ attachment ) {
5959 $ attachment ->content ($ this ->textFormatter ())->markdown ([ 'text ' ]);
6060 });
6161 }
You can’t perform that action at this time.
0 commit comments