Your IP : 216.73.216.84


Current Path : /home/helpink/www/libraries/vendor/web-auth/webauthn-lib/src/TrustPath/
Upload File :
Current File : /home/helpink/www/libraries/vendor/web-auth/webauthn-lib/src/TrustPath/EmptyTrustPath.php

<?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();
    }
}