Skip to content

Commit a047b84

Browse files
authored
Format code (#5063)
1 parent deb8c79 commit a047b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Concerns/ValidatesAttributes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ public function validateRequired(string $attribute, $value): bool
877877
if (is_string($value) && trim($value) === '') {
878878
return false;
879879
}
880-
if ((is_countable($value)) && count($value) < 1) {
880+
if (is_countable($value) && count($value) < 1) {
881881
return false;
882882
}
883883
if ($value instanceof SplFileInfo) {
@@ -1211,7 +1211,7 @@ protected function checkDateTimeOrder(string $format, string $first, string $sec
12111211
$secondDate = $this->getDateTimeWithOptionalFormat($format, $this->getValue($second));
12121212
}
12131213

1214-
return ($firstDate && $secondDate) && ($this->compare($firstDate, $secondDate, $operator));
1214+
return ($firstDate && $secondDate) && $this->compare($firstDate, $secondDate, $operator);
12151215
}
12161216

12171217
/**

0 commit comments

Comments
 (0)