From 5090038929d8f6118d09a34fdfce5ba10a55a8c1 Mon Sep 17 00:00:00 2001 From: Dan Poltawski <dan@moodle.com> Date: Thu, 1 May 2014 13:30:53 +0800 Subject: [PATCH] MDL-43319 phpdoc: fix too much ham consumption by developers --- repository/filepicker.js | 2 +- repository/tests/behat/behat_filepicker.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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<filepath_string>(?:[^"]|\\")*)" file from "(?P<repository_string>(?:[^"]|\\")*)" to "(?P<filemanagerelement_string>(?:[^"]|\\")*)" 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<filepath_string>(?:[^"]|\\")*)" file from "(?P<repository_string>(?:[^"]|\\")*)" to "(?P<filemanagerelement_string>(?:[^"]|\\")*)" 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<filepath_string>(?:[^"]|\\")*)" file from "(?P<repository_string>(?:[^"]|\\")*)" to "(?P<filemanager_field_string>(?:[^"]|\\")*)" 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<filepath_string>(?:[^"]|\\")*)" file from "(?P<repository_string>(?:[^"]|\\")*)" to "(?P<filemanager_field_string>(?:[^"]|\\")*)" 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,