aboutsummaryrefslogtreecommitdiff
path: root/combinable/combinable.php
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2019-04-28 09:37:43 +0200
committerJean-Michel Vedrine <vedrine@vedrine.org>2019-04-28 09:37:43 +0200
commite0dda838a0cffd6b1f4fd3706e75537c1906b5ec (patch)
tree9d45fa7413700acef68896983e702b7a0ec85ca3 /combinable/combinable.php
parentf2352f6e189fc1a40836957e39f5243b9d826521 (diff)
Fix errors returned from travis job
Diffstat (limited to 'combinable/combinable.php')
-rw-r--r--combinable/combinable.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/combinable/combinable.php b/combinable/combinable.php
index e956073..ad4bfaf 100644
--- a/combinable/combinable.php
+++ b/combinable/combinable.php
@@ -129,12 +129,9 @@ class qtype_combined_combinable_algebra extends qtype_combined_combinable_text_e
$variables['varmax'][] = $variable->max;
}
$data = parent::data_to_form($context, $fileoptions) + $answers + $variables;
-
-
return $data;
}
-
public function validate() {
$errors = array();
// Regular expression string to match a number.
@@ -258,7 +255,6 @@ class qtype_combined_combinable_algebra extends qtype_combined_combinable_text_e
$errors[$this->form_field_name('tolerance')] = get_string('toleranceltzero', 'qtype_algebra');
}
-
return $errors;
}