Skip to content

Commit

Permalink
revert "make exception constructors internal"
Browse files Browse the repository at this point in the history
reverts commit efdaa70
  • Loading branch information
jrmajor committed Jan 3, 2022
1 parent 3c92cd9 commit 3a3a7cf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
3 changes: 0 additions & 3 deletions src/Exceptions/Resolver/CyclicReferenceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

final class CyclicReferenceException extends RangeException
{
/**
* @internal
*/
public function __construct()
{
parent::__construct('Placeable contains cyclic reference.');
Expand Down
3 changes: 0 additions & 3 deletions src/Exceptions/Resolver/NullPatternException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

final class NullPatternException extends ResolverException
{
/**
* @internal
*/
public function __construct()
{
parent::__construct('Null pattern can not be formatted.');
Expand Down
7 changes: 0 additions & 7 deletions src/Exceptions/Resolver/ReferenceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,4 @@

final class ReferenceException extends ResolverException
{
/**
* @internal
*/
public function __construct(string $message)
{
parent::__construct($message);
}
}
7 changes: 0 additions & 7 deletions src/Exceptions/Resolver/TypeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,4 @@

final class TypeException extends ResolverException
{
/**
* @internal
*/
public function __construct(string $message)
{
parent::__construct($message);
}
}

0 comments on commit 3a3a7cf

Please sign in to comment.