From d0f9e37b7fcddb6b2dc47947b7eb88c9b4989fd8 Mon Sep 17 00:00:00 2001 From: mariodro Date: Wed, 18 Jul 2018 11:02:07 -0400 Subject: [PATCH] Deprecate yii\base\Object yii\base\Object as object is reserved in php7 --- src/storages/Storage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/storages/Storage.php b/src/storages/Storage.php index 02d8629..a4e856a 100644 --- a/src/storages/Storage.php +++ b/src/storages/Storage.php @@ -4,7 +4,7 @@ use Yii; use yii\base\InvalidParamException; -use yii\base\Object; +use yii\base\BaseObject; use zhuravljov\yii\rest\models\RequestForm; use zhuravljov\yii\rest\models\ResponseRecord; @@ -15,7 +15,7 @@ * * @author Roman Zhuravlev */ -abstract class Storage extends Object +abstract class Storage extends BaseObject { /** * @var \zhuravljov\yii\rest\Module @@ -338,4 +338,4 @@ abstract protected function readCollection(); * @param array $rows */ abstract protected function writeCollection($rows); -} \ No newline at end of file +}