Fixed error on line 12 of CustomImageExtension.php