mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-07 15:57:35 +01:00
Renamed guy classes to actors, fixed phpdoc and code style
This commit is contained in:
@@ -29,19 +29,19 @@ abstract class BasePage extends Component
|
||||
public $route;
|
||||
|
||||
/**
|
||||
* @var \Codeception\AbstractGuy the testing guy object
|
||||
* @var \Codeception\Actor the testing guy object
|
||||
*/
|
||||
protected $guy;
|
||||
protected $actor;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param \Codeception\AbstractGuy $I the testing guy object
|
||||
* @param \Codeception\Actor $I the testing guy object
|
||||
*/
|
||||
public function __construct($I)
|
||||
{
|
||||
$this->guy = $I;
|
||||
$this->actor = $I;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -67,7 +67,7 @@ abstract class BasePage extends Component
|
||||
|
||||
/**
|
||||
* Creates a page instance and sets the test guy to use [[url]].
|
||||
* @param \Codeception\AbstractGuy $I the test guy instance
|
||||
* @param \Codeception\Actor $I the test guy instance
|
||||
* @param array $params the GET parameters to be used to generate [[url]]
|
||||
* @return static the page instance
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user