CoreFiles by mySites.guru
Utils.php21 lines, 353 bytes, from Joomla_5.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 5.0.0-beta1
md5
eeb5e20ef401e4ab95a5082d4d84323a
sha1
5872431cb381ee47f90ad4cdc811beff74b0d012
sha256
38d968ef5fc3f5e3541ea2c8d48b4b15b423d0434be4ecbbafc78b5c33055171
<?php

declare(strict_types=1);

namespace Webauthn\MetadataService;

/**
 * @internal
 */
abstract class Utils
{
    /**
     * @param array<mixed> $data
     *
     * @return array<mixed>
     */
    public static function filterNullValues(array $data): array
    {
        return array_filter($data, static fn ($var): bool => $var !== null);
    }
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.