Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
trippo authored and github-actions[bot] committed Sep 8, 2022
1 parent 41d6d8a commit 1b5e4cf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Exceptions/InvalidUniqueId.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,16 @@

class InvalidUniqueId extends UnexpectedValueException
{
/**
* @return InvalidUniqueId
*/
public static function wrongClassName(string $uniqueId): self
{
return new self("UniqueId '$uniqueId' has a wrong Namespace or Class name");
}

/**
* @return InvalidUniqueId
*/
public static function caseNotPresent(string $case): self
{
return new self("There is not '$case' case on the enum");
}

/**
* @return InvalidUniqueId
*/
public static function uniqueIdFormatIsInvalid(string $uniqueId): self
{
return new self("UniqueId '$uniqueId' has an invalid format");
Expand Down

0 comments on commit 1b5e4cf

Please sign in to comment.