Rename Object -> BaseObject for PHP 7.2 compatibility

issue #7936
This commit is contained in:
Carsten Brandt
2017-07-18 13:44:31 +02:00
parent 5b2101f14c
commit 69673c0c94
46 changed files with 82 additions and 82 deletions

View File

@ -9,7 +9,7 @@ namespace yii\web;
use ArrayIterator;
use Yii;
use yii\base\Object;
use yii\base\BaseObject;
/**
* HeaderCollection is used by [[Response]] to maintain the currently registered HTTP headers.
@ -21,7 +21,7 @@ use yii\base\Object;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class HeaderCollection extends Object implements \IteratorAggregate, \ArrayAccess, \Countable
class HeaderCollection extends BaseObject implements \IteratorAggregate, \ArrayAccess, \Countable
{
/**
* @var array the headers in this collection (indexed by the header names)