Skip to content

Commit 26a1f27

Browse files
author
Igor Chepurnoy
committed
Added compatibility with php 7.2
1 parent 6f48971 commit 26a1f27

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
],
2424
"require": {
2525
"php": ">=7.0.0",
26-
"yiisoft/yii2": "~2.0.10",
27-
"2amigos/yii2-arrayquery-component": "*",
28-
"yiisoft/yii2-jui": "*"
26+
"yiisoft/yii2": "~2.0.13",
27+
"2amigos/yii2-arrayquery-component": "~1.0",
28+
"yiisoft/yii2-jui": "~2.0"
2929
},
3030
"require-dev": {
3131
"friendsofphp/php-cs-fixer": "~2.0",

models/AssignmentModel.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
namespace yii2mod\rbac\models;
44

55
use Yii;
6+
use yii\base\BaseObject;
67
use yii\base\InvalidConfigException;
7-
use yii\base\Object;
88
use yii\web\IdentityInterface;
99

1010
/**
1111
* Class AssignmentModel
1212
*
1313
* @package yii2mod\rbac\models
1414
*/
15-
class AssignmentModel extends Object
15+
class AssignmentModel extends BaseObject
1616
{
1717
/**
1818
* @var IdentityInterface

models/RouteModel.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace yii2mod\rbac\models;
44

55
use Yii;
6+
use yii\base\BaseObject;
67
use yii\base\Controller;
78
use yii\base\Module;
8-
use yii\base\Object;
99
use yii\caching\TagDependency;
1010
use yii\helpers\VarDumper;
1111

@@ -14,7 +14,7 @@
1414
*
1515
* @package yii2mod\rbac\models
1616
*/
17-
class RouteModel extends Object
17+
class RouteModel extends BaseObject
1818
{
1919
/**
2020
* @var string cache tag

0 commit comments

Comments
 (0)