src/ForwardCompatibility/FileFieldUploader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ForwardCompatibility/FileFieldUploader.php b/src/ForwardCompatibility/FileFieldUploader.php index 016ca09..4addc74 100644 --- a/src/ForwardCompatibility/FileFieldUploader.php +++ b/src/ForwardCompatibility/FileFieldUploader.php @@ -220,7 +220,7 @@ class FileFieldUploader { * @throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException * Thrown when the 'Content-Disposition' request header is invalid. */ - public function validateAndParseContentDispositionHeader(Request $request) { + public static function validateAndParseContentDispositionHeader(Request $request) { // First, check the header exists. if (!$request->headers->has('content-disposition')) { throw new BadRequestHttpException('"Content-Disposition" header is required. A file name in the format "filename=FILENAME" must be provided.');