diff --git a/repository/filepicker.js b/repository/filepicker.js index 589af052bb2..ab3b2a1ce03 100644 --- a/repository/filepicker.js +++ b/repository/filepicker.js @@ -496,7 +496,7 @@ M.core_filepicker.loadedpreviews = M.core_filepicker.loadedpreviews || {}; /** * Set selected file info * -* @parma object file info +* @param object file info */ M.core_filepicker.select_file = function(file) { M.core_filepicker.active_filepicker.select_file(file); diff --git a/repository/tests/behat/behat_filepicker.php b/repository/tests/behat/behat_filepicker.php index 0203d7386c9..2e763b9f5b7 100644 --- a/repository/tests/behat/behat_filepicker.php +++ b/repository/tests/behat/behat_filepicker.php @@ -206,7 +206,7 @@ class behat_filepicker extends behat_files { * @When /^I add "(?P(?:[^"]|\\")*)" file from "(?P(?:[^"]|\\")*)" to "(?P(?:[^"]|\\")*)" filemanager$/ * @throws ExpectationException Thrown by behat_base::find * @param string $filepath - * @parma string $repository + * @param string $repository * @param string $filemanagerelement */ public function i_add_file_from_repository_to_filemanager($filepath, $repository, $filemanagerelement) { @@ -219,7 +219,7 @@ class behat_filepicker extends behat_files { * @When /^I add and overwrite "(?P(?:[^"]|\\")*)" file from "(?P(?:[^"]|\\")*)" to "(?P(?:[^"]|\\")*)" filemanager$/ * @throws ExpectationException Thrown by behat_base::find * @param string $filepath - * @parma string $repository + * @param string $repository * @param string $filemanagerelement */ public function i_add_and_overwrite_file_from_repository_to_filemanager($filepath, $repository, $filemanagerelement) { @@ -233,7 +233,7 @@ class behat_filepicker extends behat_files { * @When /^I add "(?P(?:[^"]|\\")*)" file from "(?P(?:[^"]|\\")*)" to "(?P(?:[^"]|\\")*)" filemanager as:$/ * @throws ExpectationException Thrown by behat_base::find * @param string $filepath - * @parma string $repository + * @param string $repository * @param string $filemanagerelement * @param TableNode $data Data to fill the form in Select file dialogue */ @@ -247,7 +247,7 @@ class behat_filepicker extends behat_files { * @When /^I add and overwrite "(?P(?:[^"]|\\")*)" file from "(?P(?:[^"]|\\")*)" to "(?P(?:[^"]|\\")*)" filemanager as:$/ * @throws ExpectationException Thrown by behat_base::find * @param string $filepath - * @parma string $repository + * @param string $repository * @param string $filemanagerelement * @param TableNode $data Data to fill the form in Select file dialogue */ @@ -261,7 +261,7 @@ class behat_filepicker extends behat_files { * * @throws ExpectationException Thrown by behat_base::find * @param string $filepath - * @parma string $repository + * @param string $repository * @param string $filemanagerelement * @param TableNode $data Data to fill the form in Select file dialogue * @param false|string $overwriteaction false if we don't expect that file with the same name already exists,