From 164cbb1799c08b11002100bc1bec3fa2acdbd11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Katu=C5=A1=C4=8D=C3=A1k?= Date: Thu, 1 Feb 2018 10:13:27 +0100 Subject: [PATCH] Properties Image::image and Image::formats as protected for able to extending --- src/Utils/Image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils/Image.php b/src/Utils/Image.php index bdd2b8332..c954ee6e6 100644 --- a/src/Utils/Image.php +++ b/src/Utils/Image.php @@ -115,10 +115,10 @@ class Image const EMPTY_GIF = "GIF89a\x01\x00\x01\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00!\xf9\x04\x01\x00\x00\x00\x00,\x00\x00\x00\x00\x01\x00\x01\x00\x00\x02\x02D\x01\x00;"; - private static $formats = [self::JPEG => 'jpeg', self::PNG => 'png', self::GIF => 'gif', self::WEBP => 'webp']; + protected static $formats = [self::JPEG => 'jpeg', self::PNG => 'png', self::GIF => 'gif', self::WEBP => 'webp']; /** @var resource */ - private $image; + protected $image; /**