diff --git a/classes/script_metadata.php b/classes/script_metadata.php index 470daf4..78257e1 100644 --- a/classes/script_metadata.php +++ b/classes/script_metadata.php @@ -227,15 +227,15 @@ public static function get_request(): string { /** * Gets the name of the script. * Parameters are share the names of globals as a hint to the caller. - * @param ?string $ME - * @param ?string $SCRIPT + * @param ?string $me + * @param ?string $script * @return string the request path for this profile. */ - public static function get_normalised_relative_script_path(?string $ME, ?string $SCRIPT): string { - if (isset($ME)) { - $scriptpath = $ME; - } else if (isset($SCRIPT)) { - $scriptpath = $SCRIPT; + public static function get_normalised_relative_script_path(?string $me, ?string $script): string { + if (isset($me)) { + $scriptpath = $me; + } else if (isset($script)) { + $scriptpath = $script; } else { return self::REQUEST_UNKNOWN; }