Skip to content

Commit

Permalink
fix(logger): output
Browse files Browse the repository at this point in the history
  • Loading branch information
thepercival committed Apr 23, 2024
1 parent 4d081f6 commit ae6c6fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion domain/SportRange.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

class SportRange implements \Stringable
{
public const string Seperator = '->';
protected int $min;
protected int $max;

Expand Down Expand Up @@ -58,6 +59,6 @@ public function toArray(): array

public function __toString(): string
{
return '[' . $this->getMin() . '->' . $this->getMax() . ']';
return '[' . $this->getMin() . self::Seperator . $this->getMax() . ']';
}
}

0 comments on commit ae6c6fc

Please sign in to comment.