CoreFiles by mySites.guru
EmptyTrustPath.php29 lines, 552 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
30fb9a98a14391d98ee027b8a88e72eb
sha1
160df5b9be1d32c6ce4a6d817567e068c7c8debe
sha256
b5fc440f2dc98bad38eb2f5c2898ff4feb9ea5f985550681e08f911a07353a75
<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2014-2019 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace Webauthn\TrustPath;

final class EmptyTrustPath implements TrustPath
{
    public function jsonSerialize(): array
    {
        return [
            'type' => self::class,
        ];
    }

    public static function createFromArray(array $data): TrustPath
    {
        return new EmptyTrustPath();
    }
}

The same content is in 131 releases, Joomla 4.0.0-beta to 4.4.14. See them all, or every version of this file.