Current File : /var/www/vinorea/modules/ps_accounts/vendor/lcobucci/jwt/src/Signer/CannotSignPayload.php |
<?php
namespace PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Signer;
use InvalidArgumentException;
use PrestaShop\Module\PsAccounts\Vendor\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);
}
}