Commit 9bad9e51498e167cb40a25f431b1a8d006010a63
1 parent
e035ca19
-Static function error fix 2
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
common/components/artboximage/ArtboxImageHelper.php
@@ -13,7 +13,7 @@ class ArtboxImageHelper extends Object { | @@ -13,7 +13,7 @@ class ArtboxImageHelper extends Object { | ||
13 | private static $imageDriver; | 13 | private static $imageDriver; |
14 | private static $presets; | 14 | private static $presets; |
15 | 15 | ||
16 | - public function getDriver() { | 16 | + public static function getDriver() { |
17 | if (empty(self::$imageDriver)) { | 17 | if (empty(self::$imageDriver)) { |
18 | self::$imageDriver = Yii::$app->artboximage; | 18 | self::$imageDriver = Yii::$app->artboximage; |
19 | } | 19 | } |