From 84bf7f2a342014aeb267e76f0cd41bee369ba881 Mon Sep 17 00:00:00 2001 From: himiklab Date: Fri, 3 Nov 2017 12:35:03 +0300 Subject: [PATCH] php7.2 fix --- EasyThumbnail.php | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/EasyThumbnail.php b/EasyThumbnail.php index 1561199..b5c0f5c 100644 --- a/EasyThumbnail.php +++ b/EasyThumbnail.php @@ -7,7 +7,7 @@ namespace himiklab\thumbnail; -use yii\base\Object; +use yii\base\BaseObject; /** * EasyThumbnailImage global configuration component. @@ -15,7 +15,7 @@ * @author HimikLab * @package himiklab\thumbnail */ -class EasyThumbnail extends Object +class EasyThumbnail extends BaseObject { const GRABBER_PHP = 1; const GRABBER_CURL = 2; diff --git a/composer.json b/composer.json index 61c8c97..629b5fe 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "yiisoft/yii2": "*", + "yiisoft/yii2": "~2.0.13", "yiisoft/yii2-imagine": "*" }, "autoload": {