Test Failed
Push — master ( 3c6fc5...755ce0 )
by Rick
02:12
created
src/Ranges.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,9 @@
 block discarded – undo
19 19
 	 */
20 20
 	public static function stringWithLengthBetween(int $minimumLength, int $maximumLength): \Closure
21 21
 	{
22
-		if ($maximumLength < 0 || $maximumLength < 1)
23
-			throw new \InvalidArgumentException('Minimum length cannot be below 0, maximum length cannot be below 1');
22
+		if ($maximumLength < 0 || $maximumLength < 1) {
23
+					throw new \InvalidArgumentException('Minimum length cannot be below 0, maximum length cannot be below 1');
24
+		}
24 25
 
25 26
 		return function (string $value) use ($minimumLength, $maximumLength)
26 27
 		{
Please login to merge, or discard this patch.