| 1 | <?php |
||
| 7 | class SessionGuardMixin |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Log a user into the application without firing the Login event. |
||
| 11 | * |
||
| 12 | * @param \Illuminate\Contracts\Auth\Authenticatable $user |
||
|
|
|||
| 13 | * @return void |
||
| 14 | */ |
||
| 15 | public function quietLogin() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Logout the user without updating remember_token |
||
| 26 | * and without firing the Logout event. |
||
| 27 | * |
||
| 28 | * @param void |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | public function quietLogout() |
||
| 41 | } |
||
| 42 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.