Remove unnecessary backslash

This commit is contained in:
James Cole
2019-06-07 17:58:11 +02:00
parent e4a9abc315
commit fba3cb6d90
20 changed files with 32 additions and 32 deletions

View File

@@ -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);