CoreFiles by mySites.guru
AttestationStatementLoadingException.php32 lines, 737 bytes, from Joomla_5.4.10-Stable-Full_Package.zip
Raw History Compare with 5.4.9
md5
aee291841aa8e1709c5cb4a3d96a150b
sha1
41e10ebf27ccac2d73d5f811894b9c4ef8bd2275
sha256
89d3bdbf7e287a40d1ab94deaedd86ff23b47f197123c597e2441c53428bdb7d
<?php

declare(strict_types=1);

namespace Webauthn\Exception;

use Throwable;

final class AttestationStatementLoadingException extends AttestationStatementException
{
    /**
     * @param array<string, mixed> $attestation
     */
    public function __construct(
        public readonly array $attestation,
        string $message,
        ?Throwable $previous = null
    ) {
        parent::__construct($message, $previous);
    }

    /**
     * @param array<string, mixed> $attestation
     */
    public static function create(
        array $attestation,
        string $message = 'Invalid attestation object',
        ?Throwable $previous = null
    ): self {
        return new self($attestation, $message, $previous);
    }
}

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