Code for new release

This commit is contained in:
James Cole
2023-07-15 16:02:42 +02:00
parent f43b539470
commit b557805eeb
213 changed files with 1942 additions and 1426 deletions

View File

@@ -41,8 +41,7 @@ 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;
@@ -59,8 +58,7 @@ if (!function_exists('stringIsEqual')) {
*
* @return bool
*/
function stringIsEqual(string $left, string $right): bool
{
function stringIsEqual(string $left, string $right): bool {
return $left === $right;
}
}