Skip to content

Commit

Permalink
Merge pull request #24 from yii2mod/feature_added_compatibility_with_…
Browse files Browse the repository at this point in the history
…php72

Added compatibility with php 7.2
  • Loading branch information
Igor Chepurnoy authored Jan 15, 2018
2 parents 6f48971 + 26a1f27 commit d6d236f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
],
"require": {
"php": ">=7.0.0",
"yiisoft/yii2": "~2.0.10",
"2amigos/yii2-arrayquery-component": "*",
"yiisoft/yii2-jui": "*"
"yiisoft/yii2": "~2.0.13",
"2amigos/yii2-arrayquery-component": "~1.0",
"yiisoft/yii2-jui": "~2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~2.0",
Expand Down
4 changes: 2 additions & 2 deletions models/AssignmentModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
namespace yii2mod\rbac\models;

use Yii;
use yii\base\BaseObject;
use yii\base\InvalidConfigException;
use yii\base\Object;
use yii\web\IdentityInterface;

/**
* Class AssignmentModel
*
* @package yii2mod\rbac\models
*/
class AssignmentModel extends Object
class AssignmentModel extends BaseObject
{
/**
* @var IdentityInterface
Expand Down
4 changes: 2 additions & 2 deletions models/RouteModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace yii2mod\rbac\models;

use Yii;
use yii\base\BaseObject;
use yii\base\Controller;
use yii\base\Module;
use yii\base\Object;
use yii\caching\TagDependency;
use yii\helpers\VarDumper;

Expand All @@ -14,7 +14,7 @@
*
* @package yii2mod\rbac\models
*/
class RouteModel extends Object
class RouteModel extends BaseObject
{
/**
* @var string cache tag
Expand Down

0 comments on commit d6d236f

Please sign in to comment.