- * @param $vars array A subset of $_SERVER.
- * @param $extWhitelist array Extensions which are allowed, assumed harmless.
+ * @param array $vars A subset of $_SERVER.
+ * @param array $extWhitelist Extensions which are allowed, assumed harmless.
* Given a right-hand portion of a URL, determine whether IE would detect
* a potentially harmful file extension.
*
* Given a right-hand portion of a URL, determine whether IE would detect
* a potentially harmful file extension.
*
- * @param $urlPart string The right-hand portion of a URL
- * @param $extWhitelist array An array of file extensions which may occur in this
+ * @param string $urlPart The right-hand portion of a URL
+ * @param array $extWhitelist An array of file extensions which may occur in this
* - if we find a possible extension followed by a dot or another illegal
* character, we ignore it and continue searching
*
* - if we find a possible extension followed by a dot or another illegal
* character, we ignore it and continue searching
*
* @return mixed Detected extension (string), or false if none found
*/
public static function findIE6Extension( $url ) {
* @return mixed Detected extension (string), or false if none found
*/
public static function findIE6Extension( $url ) {