Skip to content

Commit

Permalink
[#272] Attempt to solve CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fragonite committed Sep 6, 2023
1 parent 2a0a63f commit 6886b88
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions classes/script_metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6886b88

Please sign in to comment.