Completed
Push — IncomprehensibleFinder/base ( 2b8e11...32b764 )
by Albert
02:12
created
src/Algorithm/BirthdayDistanceCriteria.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.