1 | <?php |
||
35 | class UuidTrackingMiddleware extends MiddlewareAbstract |
||
36 | { |
||
37 | /** |
||
38 | * track user cookie name |
||
39 | * |
||
40 | * @var string |
||
41 | * @access protected |
||
42 | */ |
||
43 | protected $user_cookie = 'userTrack'; |
||
44 | |||
45 | /** |
||
46 | * @param string $trackName |
||
|
|||
47 | * @access public |
||
48 | */ |
||
49 | public function __construct(array $settings = []) |
||
53 | |||
54 | /** |
||
55 | * {@inheritDoc} |
||
56 | */ |
||
57 | protected function before( |
||
63 | } |
||
64 |
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.