diff --git a/src/Utils/Image.php b/src/Utils/Image.php index 166a677ee..010d5a5b6 100644 --- a/src/Utils/Image.php +++ b/src/Utils/Image.php @@ -116,7 +116,7 @@ class Image /** @deprecated */ const ENLARGE = 0; - static private $formats = [self::JPEG => 'jpeg', self::PNG => 'png', self::GIF => 'gif', self::WEBP => 'webp']; + private static $formats = [self::JPEG => 'jpeg', self::PNG => 'png', self::GIF => 'gif', self::WEBP => 'webp']; /** @var resource */ private $image; diff --git a/tests/Utils/Object.events.phpt b/tests/Utils/Object.events.phpt index 246b2f17f..7a347f4ef 100644 --- a/tests/Utils/Object.events.phpt +++ b/tests/Utils/Object.events.phpt @@ -13,7 +13,7 @@ class TestClass extends Nette\Object { public $onPublic; - static public $onPublicStatic; + public static $onPublicStatic; protected $onProtected; diff --git a/tests/Utils/SmartObject.events.phpt b/tests/Utils/SmartObject.events.phpt index e47e4d15f..dc20435d1 100644 --- a/tests/Utils/SmartObject.events.phpt +++ b/tests/Utils/SmartObject.events.phpt @@ -15,7 +15,7 @@ class TestClass public $onPublic; - static public $onPublicStatic; + public static $onPublicStatic; protected $onProtected;