diff --git a/question/format.php b/question/format.php index a9471af5fd3..221db62e2da 100644 --- a/question/format.php +++ b/question/format.php @@ -102,7 +102,7 @@ class qformat_default { public function export_file_extension() { return '.txt'; } - + /** * Check if the given file is capable of being imported by this plugin. * @@ -110,7 +110,7 @@ class qformat_default { * not be performed by this method. Simple file type or magic-number tests * would be suitable. * - * @param stored_file $file the file to check + * @param stored_file $file the file to check * @return bool whether this plugin can import the file */ public function can_import_file($file) { diff --git a/question/format/blackboard_six/format.php b/question/format/blackboard_six/format.php index bb82d9b87bc..efbf4e65ac5 100644 --- a/question/format/blackboard_six/format.php +++ b/question/format/blackboard_six/format.php @@ -39,7 +39,7 @@ class qformat_blackboard_six extends qformat_default { function provide_import() { return true; } - + public function can_import_file($file) { $mimetypes = array( mimeinfo('type', '.dat'),