mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 20:22:07 +00:00
Remove unnecessary backslash
This commit is contained in:
@@ -56,7 +56,7 @@ class IsDateOrTime implements Rule
|
||||
public function passes($attribute, $value): bool
|
||||
{
|
||||
$value = (string)$value;
|
||||
if (10 === \strlen($value)) {
|
||||
if (10 === strlen($value)) {
|
||||
// probably a date format.
|
||||
try {
|
||||
Carbon::createFromFormat('Y-m-d', $value);
|
||||
|
Reference in New Issue
Block a user