Skip to content

Commit

Permalink
fix: treat forbidden mixed type as invalid type
Browse files Browse the repository at this point in the history
  • Loading branch information
romm committed Jan 7, 2022
1 parent 47eccce commit 36bd363
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Type/Types/Exception/ForbiddenMixedType.php
Expand Up @@ -4,9 +4,10 @@

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()
{
Expand Down

0 comments on commit 36bd363

Please sign in to comment.