CoreFiles by mySites.guru
EmptyTrustPath.php31 lines, 497 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
047cc912ac377e5d3ec45f63ead1dee3
sha1
5c061498122342dd385ea8de22c0f870d032ca32
sha256
52f16bdd6d0740c8ac98163fec7c3ac8c46cbee50625cc8f9a3f8f6a80823079
<?php

declare(strict_types=1);

namespace Webauthn\TrustPath;

final class EmptyTrustPath implements TrustPath
{
    public static function create(): self
    {
        return new self();
    }

    /**
     * @return string[]
     */
    public function jsonSerialize(): array
    {
        return [
            'type' => self::class,
        ];
    }

    /**
     * {@inheritdoc}
     */
    public static function createFromArray(array $data): static
    {
        return new self();
    }
}

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