diff --git a/lib/Minify/Source/Factory.php b/lib/Minify/Source/Factory.php index 2cec8d6..c65ce6d 100644 --- a/lib/Minify/Source/Factory.php +++ b/lib/Minify/Source/Factory.php @@ -110,20 +110,20 @@ class Minify_Source_Factory { return $realpath; } - /** - * @param string $path + * turn windows-style slashes into unix-style, + * remove trailing slash + * and lowercase drive letter + * + * @param string $path absolute path + * * @return string */ public function getNormalizedPath($path) { - // turn windows-style slashes into unix-style, - // remove trailing slash - // and lowercase drive letter return lcfirst(rtrim(str_replace('\\', '/', $path), '/')); } - /** * @param mixed $spec *