Skip to content

Commit 963886d

Browse files
authored
Add deprecation doc to getApplication()
1 parent 9d0fd6e commit 963886d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Codeception/Lib/Connector/Yii2.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,11 @@ class Yii2 extends Client
8282

8383

8484
private $emails = [];
85+
8586
/**
8687
* @return \yii\web\Application
88+
*
89+
* @deprecated since 2.5, will become protected in 3.0. Use getComponent() or directly access to \Yii::$app.
8790
*/
8891
public function getApplication()
8992
{

0 commit comments

Comments
 (0)