Skip to content

Annotate throws with FQN #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/Codeception/Module/Yii2.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public function _parts()
* Requires the `user` component to be enabled and configured.
*
* @param $user
* @throws ModuleException
* @throws \Codeception\Exception\ModuleException
*/
public function amLoggedInAs($user)
{
Expand Down Expand Up @@ -521,7 +521,7 @@ function ($fixturesStore) {
*
* @param $name
* @return mixed
* @throws ModuleException if the fixture is not found
* @throws \Codeception\Exception\ModuleException if the fixture is not found
* @part fixtures
*/
public function grabFixture($name, $index = null)
Expand Down Expand Up @@ -714,7 +714,7 @@ protected function clientRequest($method, $uri, array $parameters = [], array $f
*
* @param $component
* @return mixed
* @throws ModuleException
* @throws \Codeception\Exception\ModuleException
* @deprecated in your tests you can use \Yii::$app directly.
*/
public function grabComponent($component)
Expand All @@ -739,7 +739,7 @@ public function grabComponent($component)
* ```
*
* @param int $num
* @throws ModuleException
* @throws \Codeception\Exception\ModuleException
* @part email
*/
public function seeEmailIsSent($num = null)
Expand Down Expand Up @@ -775,7 +775,7 @@ public function dontSeeEmailIsSent()
*
* @part email
* @return array
* @throws ModuleException
* @throws \Codeception\Exception\ModuleException
*/
public function grabSentEmails()
{
Expand Down Expand Up @@ -826,7 +826,7 @@ private function defineConstants()
/**
* Sets a cookie and, if validation is enabled, signs it.
* @param string $name The name of the cookie
* @param string $value The value of the cookie
* @param string $val The value of the cookie
* @param array $params Additional cookie params like `domain`, `path`, `expires` and `secure`.
*/
public function setCookie($name, $val, array $params = [])
Expand Down