Do not use as variable name.
All checks were successful
The build was successful.

This commit is contained in:
2019-05-21 21:36:08 +02:00
parent 1f78547ca2
commit d8db20e9bd

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;
}