Browse Source

Do not use as variable name.

release/v0.1
Rafal Kupiec 1 year ago
parent
commit
d8db20e9bd
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/path_split.aer

+ 2
- 2
tests/path_split.aer View File

@ -1,6 +1,6 @@
class Program {
string[] parsePathComponents(string $path, bool $endSlash=true, bool $base=false) {
string[] parsePathComponents(string $path, bool $endSlash=true, bool $file=false) {
string[] $retArray;
$path = trim($path);
string $str, $temp;
@ -14,7 +14,7 @@ class Program {
$temp = '';
}
}
($base && $temp) ? $retArray[$temp] = $str + $temp : NULL;
($file && $temp) ? $retArray[$temp] = $str + $temp : NULL;
return $retArray;
}

Loading…
Cancel
Save