Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Declaring Image::$mime before using it, fixes #3561

  • Loading branch information...
commit c1c79f84fd04c1b2aacca6c65780a98b72e687fa 1 parent 57e13e3
@shadowhand shadowhand authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 classes/kohana/image.php
View
5 classes/kohana/image.php
@@ -74,6 +74,11 @@ public static function factory($file, $driver = NULL)
public $type;
/**
+ * @var string mime type of the image
+ */
+ public $mime;
+
+ /**
* Loads information about the image. Will throw an exception if the image
* does not exist or is not an image.
*
Please sign in to comment.
Something went wrong with that request. Please try again.