Renamed guy classes to actors, fixed phpdoc and code style

This commit is contained in:
Alexander Makarov
2014-08-16 18:15:41 +04:00
parent 1bf6843d08
commit cef430af01
55 changed files with 172 additions and 115 deletions

View File

@@ -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
*/