Update exception message in Image::initialize()

This commit is contained in:
Giuseppe Criscione 2020-12-13 16:23:44 +01:00
parent 68234623c8
commit 7da121a2a0

View File

@ -608,7 +608,7 @@ class Image extends File
protected function initialize(): void
{
if (!extension_loaded('gd')) {
throw new RuntimeException('GD extension not loaded');
throw new RuntimeException('Class ' . static::class . ' requires the extension "gd" to be enabled');
}
if (!FileSystem::isReadable($this->path)) {