Completed
Push — develop ( e72854...0832ef )
by Daniel
06:46
created
src/File/Uploader/FileUploader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
         if ($file->getFilename() === '') {
84 84
             $template = 'The file was not uploaded. It is likely that the file size was larger than %s';
85 85
             throw new ValidationException(new ConstraintViolationList([
86
-                new ConstraintViolation(sprintf($template, ini_get('upload_max_filesize')), $template, [ ini_get('upload_max_filesize') ], $file, 'filename', $file->getFilename())
86
+                new ConstraintViolation(sprintf($template, ini_get('upload_max_filesize')), $template, [ini_get('upload_max_filesize')], $file, 'filename', $file->getFilename())
87 87
             ]));
88 88
         }
89 89
         $resourceMetadata = $this->resourceMetadataFactory->create(get_class($entity));
Please login to merge, or discard this patch.