1 | <?php |
||
9 | trait AbstractAuthenticationControllerTrait |
||
10 | { |
||
11 | use HasAuthenticationVariablesTrait; |
||
12 | |||
13 | protected function beforeAction() |
||
18 | |||
19 | protected function afterActionViewVariables() |
||
25 | |||
26 | /** |
||
27 | * @param null $type |
||
|
|||
28 | */ |
||
29 | protected function checkIsAuthenticated() |
||
35 | |||
36 | /** |
||
37 | * @param null $type |
||
38 | */ |
||
39 | protected function doSuccessRedirect($type = null) |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | protected function getRedirectURL() |
||
64 | |||
65 | /** |
||
66 | * @return string|null |
||
67 | */ |
||
68 | protected function getGenericRedirectURL() |
||
73 | |||
74 | /** |
||
75 | * @param $action |
||
76 | */ |
||
77 | protected function _setMeta($action) |
||
85 | |||
86 | /** |
||
87 | * @inheritdoc |
||
88 | */ |
||
89 | protected function generateModelName() |
||
93 | } |
||
94 |
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
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.