Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
Fixes a typo, removes an useless array entry.
  • Loading branch information
vlakoff committed Mar 5, 2014
1 parent bbac847 commit 5e7fefa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Imagine/Gd/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ private function saveOrOutput($format, array $options, $filename = null)
if (!$this->supported($format)) {
throw new InvalidArgumentException(sprintf(
'Saving image in "%s" format is not supported, please use one '.
'of the following extension: "%s"', $format,
'of the following extensions: "%s"', $format,
implode('", "', $this->supported())
));
}
Expand Down Expand Up @@ -749,7 +749,6 @@ private function getMimeType($format)

static $mimeTypes = array(
'jpeg' => 'image/jpeg',
'jpg' => 'image/jpeg',
'gif' => 'image/gif',
'png' => 'image/png',
'wbmp' => 'image/vnd.wap.wbmp',
Expand Down

0 comments on commit 5e7fefa

Please sign in to comment.