mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Code cleanup
This commit is contained in:
@@ -41,7 +41,8 @@ if (!function_exists('envNonEmpty')) {
|
||||
*
|
||||
* @return mixed|null
|
||||
*/
|
||||
function envNonEmpty(string $key, $default = null) {
|
||||
function envNonEmpty(string $key, $default = null)
|
||||
{
|
||||
$result = env($key, $default);
|
||||
if (is_string($result) && '' === $result) {
|
||||
$result = $default;
|
||||
@@ -58,7 +59,8 @@ if (!function_exists('stringIsEqual')) {
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function stringIsEqual(string $left, string $right): bool {
|
||||
function stringIsEqual(string $left, string $right): bool
|
||||
{
|
||||
return $left === $right;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user