Skip to content

Commit

Permalink
Typo. #245
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jan 15, 2016
1 parent 99d2a41 commit d06c3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static function getStreamExt($stream)
{
$finfo = new finfo(FILEINFO_MIME);

$mime = $finfo->buffer($content);
$mime = $finfo->buffer($stream);

return isset(self::$extensionMap[$mime]) ? self::$extensionMap[$mime] : '';
}
Expand Down

0 comments on commit d06c3f4

Please sign in to comment.