mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 10:31:28 +00:00
Remove unnecessary backslash
This commit is contained in:
@@ -121,7 +121,7 @@ class AttachmentController extends Controller
|
||||
->header('Expires', '0')
|
||||
->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0')
|
||||
->header('Pragma', 'public')
|
||||
->header('Content-Length', \strlen($content));
|
||||
->header('Content-Length', strlen($content));
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ class ExportController extends Controller
|
||||
->header('Expires', '0')
|
||||
->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0')
|
||||
->header('Pragma', 'public')
|
||||
->header('Content-Length', \strlen($content));
|
||||
->header('Content-Length', strlen($content));
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ class IndexController extends Controller
|
||||
->header('Expires', '0')
|
||||
->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0')
|
||||
->header('Pragma', 'public')
|
||||
->header('Content-Length', \strlen($result));
|
||||
->header('Content-Length', strlen($result));
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
@@ -241,7 +241,7 @@ class Request extends FormRequest
|
||||
return null;
|
||||
}
|
||||
$value = (string)$this->get($field);
|
||||
if (10 === \strlen($value)) {
|
||||
if (10 === strlen($value)) {
|
||||
// probably a date format.
|
||||
try {
|
||||
$result = Carbon::createFromFormat('Y-m-d', $value);
|
||||
|
||||
Reference in New Issue
Block a user