Skip to content

Commit

Permalink
Add deprecation doc to getApplication()
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk authored Sep 26, 2018
1 parent e57a45e commit c961b11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Codeception/Lib/Connector/Yii2.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 82,11 @@ class Yii2 extends Client


private $emails = [];

/**
* @return \yii\web\Application
*
* @deprecated since 2.5, will become protected in 3.0. Use getComponent() or directly access to \Yii::$app.
*/
public function getApplication()
{
Expand Down

0 comments on commit c961b11

Please sign in to comment.