HEX
Server: Apache
System: Linux srv13.cpanelhost.cl 3.10.0-962.3.2.lve1.5.38.el7.x86_64 #1 SMP Thu Jun 18 05:28:41 EDT 2020 x86_64
User: cca63905 (4205)
PHP: 7.3.20
Disabled: NONE
Upload Files
File: //proc/self/cwd/nueva/modules/ps_accounts/vendor/lcobucci/jwt/src/Signer/Key/FileCouldNotBeRead.php
<?php

namespace PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Signer\Key;

use PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Exception;
use InvalidArgumentException;
if (\PHP_MAJOR_VERSION === 7) {
    final class FileCouldNotBeRead extends InvalidArgumentException implements Exception
    {
        /** @return self */
        public static function onPath(string $path, \Throwable $cause = null)
        {
            return new self('The path "' . $path . '" does not contain a valid key file', 0, $cause);
        }
    }
} else {
    final class FileCouldNotBeRead extends InvalidArgumentException implements Exception
    {
        /**
         * @param string $path
         * @param \Exception|null $cause
         *
         * @return self
         */
        public static function onPath($path, \Exception $cause = null)
        {
            return new self('The path "' . $path . '" does not contain a valid key file', 0, $cause);
        }
    }
}