Skip to content

Commit

Permalink
Added PHP 7.2 support by replacing deprecated 'Object' class
Browse files Browse the repository at this point in the history
  • Loading branch information
tunecino committed Jun 2, 2018
1 parent b870f61 commit af50783
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
],
"require": {
"yiisoft/yii2": "~2.0.0"
"yiisoft/yii2": "~2.0.13"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions src/UrlRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

use Yii;
use yii\web\UrlRuleInterface;
use yii\base\Object;
use yii\base\BaseObject;
use yii\helpers\Inflector;
use yii\helpers\StringHelper;
use yii\base\InvalidConfigException;
Expand All @@ -18,7 +18,7 @@
* UrlRule is a custom implementation that creates multi instances of a UrlRuleInterface[] to generate nested rules based in model relations.
* @author Salem Ouerdani <tunecino@gmail.com>
*/
class UrlRule extends Object implements UrlRuleInterface
class UrlRule extends BaseObject implements UrlRuleInterface
{
/**
* @var string class name of the model which will be used to generate related rules.
Expand Down

0 comments on commit af50783

Please sign in to comment.