Issues (18)

config/params.php (1 issue)

Labels
Severity
1
<?php
2
3
return [
4
    'appUrl' => env('APP_URL'),
5
    'adminEmail' => env('ADMIN_EMAIL'),
6
    'senderEmail' => env('SENDER_EMAIL'),
7
    'senderName' => env('SENDER_NAME', env('APP_NAME')),
0 ignored issues
show
It seems like env('APP_NAME') can also be of type string; however, parameter $default of env() does only seem to accept boolean, maybe add an additional type check? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

7
    'senderName' => env('SENDER_NAME', /** @scrutinizer ignore-type */ env('APP_NAME')),
Loading history...
8
];
9