File: //proc/self/cwd/nueva/modules/ps_accounts/vendor/lcobucci/jwt/src/Token/RegisteredClaimGiven.php
<?php
namespace PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Token;
use InvalidArgumentException;
use PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Exception;
use function sprintf;
final class RegisteredClaimGiven extends InvalidArgumentException implements Exception
{
const DEFAULT_MESSAGE = 'Builder#withClaim() is meant to be used for non-registered claims, ' . 'check the documentation on how to set claim "%s"';
/**
* @param string $name
*
* @return self
*/
public static function forClaim($name)
{
return new self(sprintf(self::DEFAULT_MESSAGE, $name));
}
}