Clean up some code.

This commit is contained in:
James Cole
2021-04-05 21:52:55 +02:00
parent 6d855e119d
commit e4802ec958
35 changed files with 74 additions and 216 deletions

View File

@@ -100,7 +100,7 @@ class ShowController 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', (string)strlen($content));
return $response;
}