diff --git a/src/MagicConstant.php b/src/MagicConstant.php index aad3511..e15b79e 100644 --- a/src/MagicConstant.php +++ b/src/MagicConstant.php @@ -150,6 +150,10 @@ public function in(array $values): bool return false; } + /** + * @param string $format + * @return static + */ public function toFormat(string $format): self { return new static($this->getValue($format));