fix: treat forbidden mixed type as invalid type

This commit is contained in:
Romain Canon 2022-01-02 16:43:20 +01:00
parent 47ecccee2b
commit 36bd3638c8

View File

@ -4,9 +4,10 @@ declare(strict_types=1);
namespace CuyZ\Valinor\Type\Types\Exception;
use CuyZ\Valinor\Type\Parser\Exception\InvalidType;
use LogicException;
final class ForbiddenMixedType extends LogicException
final class ForbiddenMixedType extends LogicException implements InvalidType
{
public function __construct()
{