CoreFiles by mySites.guru
CannotSignPayload.php19 lines, 406 bytes, from Joomla_4.2.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta2
md5
c87b3b1aa768bc53ed9b17f20cb5b739
sha1
3d55a46b675bf3f3eae3363323c0246ba4169d97
sha256
8c84654d8d7ae4eae0b8b03db0b845acd0ca5a770cf53f4884ac12b31d183bbf
<?php

namespace Lcobucci\JWT\Signer;

use InvalidArgumentException;
use Lcobucci\JWT\Exception;

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

The same content is in 75 releases, Joomla 4.2.0-beta3 to 4.4.14. See them all, or every version of this file.