From d78823d1b03100c4cc7ddc1f6321ec452857c58c Mon Sep 17 00:00:00 2001 From: Justus Dieckmann <justusdieckmann@wwu.de> Date: Tue, 10 Nov 2020 20:30:37 +0100 Subject: [PATCH] PHPDocs: Use @see for class references --- adminlib.php | 2 +- classes/local/manager/settings_manager.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adminlib.php b/adminlib.php index dbbe590..76afb02 100644 --- a/adminlib.php +++ b/adminlib.php @@ -266,7 +266,7 @@ class admin_settings { /** * This is the entry point for this controller class. - * @param string $action Action string (see {@link action}). + * @param string $action Action string (see {@see action}). * @param int $workflowid Id of the workflow. * @throws \coding_exception * @throws \dml_exception diff --git a/classes/local/manager/settings_manager.php b/classes/local/manager/settings_manager.php index b6ca7de..7e76238 100644 --- a/classes/local/manager/settings_manager.php +++ b/classes/local/manager/settings_manager.php @@ -122,7 +122,7 @@ class settings_manager { /** * Returns an array of local subplugin settings for a given instance id * @param int $instanceid id of the step instance - * @param string $type Type of the setting (see {@link settings_type}). + * @param string $type Type of the setting (see {@see settings_type}). * @return array|null settings key-value pairs * @throws \coding_exception * @throws \dml_exception @@ -164,7 +164,7 @@ class settings_manager { /** * Removes all local settings for a given instance id * @param int $instanceid id of the step instance - * @param string $type Type of the setting (see {@link settings_type}). + * @param string $type Type of the setting (see {@see settings_type}). * @throws \coding_exception * @throws \dml_exception */ @@ -179,7 +179,7 @@ class settings_manager { /** * Validates the type param for the two possibilities 'step' and 'trigger'. - * @param string $type Type of the setting (see {@link settings_type}). + * @param string $type Type of the setting (see {@see settings_type}). * @throws \coding_exception */ private static function validate_type($type) { -- GitLab