@@ -25,7 +25,7 @@ |
||
25 | 25 | public static function fromCriteriaParameter(int $criteria): BirthdayDistanceCriteria |
26 | 26 | { |
27 | 27 | if (!in_array($criteria, [self::CLOSEST_BIRTHDAY, self::FURTHEST_BIRTHDAY])) { |
28 | - throw new \InvalidArgumentException('Criteria ' . $criteria . ' is invalid.'); |
|
28 | + throw new \InvalidArgumentException('Criteria '.$criteria.' is invalid.'); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | return new self($criteria); |