From 9bad9e51498e167cb40a25f431b1a8d006010a63 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 2 Feb 2017 16:56:02 +0200 Subject: [PATCH] -Static function error fix 2 --- common/components/artboximage/ArtboxImageHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/components/artboximage/ArtboxImageHelper.php b/common/components/artboximage/ArtboxImageHelper.php index 536a001..a73199f 100755 --- a/common/components/artboximage/ArtboxImageHelper.php +++ b/common/components/artboximage/ArtboxImageHelper.php @@ -13,7 +13,7 @@ class ArtboxImageHelper extends Object { private static $imageDriver; private static $presets; - public function getDriver() { + public static function getDriver() { if (empty(self::$imageDriver)) { self::$imageDriver = Yii::$app->artboximage; } -- libgit2 0.21.4