From a117bb1c18eaa802ec8d85b2d939fbef7efe7b40 Mon Sep 17 00:00:00 2001 From: Simon Erkelens Date: Fri, 11 May 2018 11:46:46 +1200 Subject: [PATCH] Make Scrutinizer happy --- src/jobs/PartialSubmissionJob.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jobs/PartialSubmissionJob.php b/src/jobs/PartialSubmissionJob.php index 493dcaf..3913ab6 100644 --- a/src/jobs/PartialSubmissionJob.php +++ b/src/jobs/PartialSubmissionJob.php @@ -148,6 +148,7 @@ protected function getParents() /** * @param string $file * @param UserDefinedForm $form + * @throws \SilverStripe\ORM\ValidationException */ protected function buildCSV($file, $form) { @@ -168,8 +169,9 @@ protected function buildCSV($file, $form) /** * @param UserDefinedForm $form - * @param PartialFormSubmission $submissions + * @param DataList|PartialFormSubmission[] $submissions * @param resource $resource + * @throws \SilverStripe\ORM\ValidationException */ protected function processSubmissions($form, $submissions, $resource) {