@@ -83,7 +83,7 @@ |
||
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)); |