Skip to content

Commit d629305

Browse files
committed
chore: Fixed failing cs-fixer checks
1 parent 4a12adf commit d629305

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Rules/AsciiOnly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AsciiOnly implements ValidationRuleInterface
1515
*/
1616
public function passes($value, array $parameters): bool
1717
{
18-
return (bool)mb_detect_encoding($value, 'ASCII', true);
18+
return (bool) mb_detect_encoding($value, 'ASCII', true);
1919
}
2020

2121
/**

src/Rules/Between.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ public function passes($value, array $parameters): bool
2525

2626
if (is_numeric($value)) {
2727
$convertedValue = +$value;
28+
2829
return $convertedValue >= +$min && $convertedValue <= +$max;
2930
}
3031

3132
if (is_string($value)) {
3233
$valueLength = strlen($value);
34+
3335
return $valueLength >= +$min && $valueLength <= +$max;
3436
}
3537

0 commit comments

Comments
 (0)