Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Useless pass-by-reference in fromPostedFilename() function
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jan 31, 2014
1 parent 2e4b625 commit 3766735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/core/classes/class.SystemTextEncoding.php
Expand Up @@ -124,7 +124,7 @@ public static function magicDequote($text)
* @param string $filesystemElement
* @return string
*/
public static function fromPostedFileName(&$filesystemElement)
public static function fromPostedFileName($filesystemElement)
{
return SystemTextEncoding::fromUTF8(SystemTextEncoding::magicDequote($filesystemElement));
}
Expand Down

0 comments on commit 3766735

Please sign in to comment.