1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-19 12:11:26 +02:00

Check for empty string

This commit is contained in:
diarmuid
2015-08-15 18:29:50 +01:00
parent 156f9d6f8a
commit cbec1cdf3f

View File

@@ -268,7 +268,7 @@ class Image extends File
*/
public function isEncoded()
{
return ! is_null($this->encoded);
return ! empty($this->encoded);
}
/**