CoreFiles by mySites.guru
CannotSignPayload.php15 lines, 371 bytes, from Joomla_5.0.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 4.4.0-alpha4
md5
86987df23c72549eeb0cad5b453d3110
sha1
5d71acdd5957cb4390ef69b93c391c29fed00923
sha256
f452680b0943fb4b5cb1042131bcdd6b0aeb430703174bc5f7272365f3859591
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer;

use InvalidArgumentException;
use Lcobucci\JWT\Exception;

final class CannotSignPayload extends InvalidArgumentException implements Exception
{
    public static function errorHappened(string $error): self
    {
        return new self('There was an error while creating the signature:' . $error);
    }
}

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.