CoreFiles by mySites.guru
CannotEncodeContent.php16 lines, 370 bytes, from Joomla_5.4.11-Stable-Full_Package.zip
Raw History Compare with 5.4.10
md5
112a8b925228ed945fdb26363e03d90e
sha1
54f2c42280901a1e1ed2eacf5837ca34e159c604
sha256
2aa4a151bce7c2a8f8369b1ecde643fe1fb979d2453186c776a0c89fa041f9af
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Encoding;

use JsonException;
use Lcobucci\JWT\Exception;
use RuntimeException;

final class CannotEncodeContent extends RuntimeException implements Exception
{
    public static function jsonIssues(JsonException $previous): self
    {
        return new self('Error while encoding to JSON', 0, $previous);
    }
}

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.