mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Fix various phpstan issues.
This commit is contained in:
@@ -43,7 +43,7 @@ if (!function_exists('envNonEmpty')) {
|
||||
*/
|
||||
function envNonEmpty(string $key, string | int | bool | null $default = null)
|
||||
{
|
||||
$result = env($key, $default);
|
||||
$result = env($key, $default); // @phpstan-ignore-line
|
||||
if ('' === $result) {
|
||||
$result = $default;
|
||||
}
|
||||
|
Reference in New Issue
Block a user