Skip to content

Commit

Permalink
Fix conflict with special class name Object on Yii2 2.0.13+
Browse files Browse the repository at this point in the history
  • Loading branch information
Gruven committed Mar 23, 2019
1 parent f9bb235 commit 3d07979
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": ">=5.5.0",
"yiisoft/yii2": "^2.0.6",
"yiisoft/yii2": "^2.0.13",
"yiisoft/yii2-mongodb": "^2.1.2"
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions src/Sms.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
use miserenkov\sms\logging\LoggerInterface;
use Yii;
use yii\base\InvalidConfigException;
use yii\base\Object;
use yii\base\BaseObject;
use yii\base\NotSupportedException;

class Sms extends Object
class Sms extends BaseObject
{
/**
* Api gateways
Expand Down
4 changes: 2 additions & 2 deletions src/logging/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@


use yii\base\InvalidConfigException;
use yii\base\Object;
use yii\base\BaseObject;
use yii\di\Instance;
use yii\db\Connection as SqlConnection;
use yii\mongodb\Connection as MongoConnection;
use miserenkov\sms\logging\models\Sql;
use miserenkov\sms\logging\models\Mongo;

class Logger extends Object implements LoggerInterface
class Logger extends BaseObject implements LoggerInterface
{
/**
* @var string
Expand Down

0 comments on commit 3d07979

Please sign in to comment.