| 1 | <?php |
||
| 16 | class PfxStrategy |
||
| 17 | { |
||
| 18 | use HasFiles; |
||
| 19 | |||
| 20 | /** @var string */ |
||
| 21 | protected $keyFile; |
||
| 22 | |||
| 23 | /** @var string */ |
||
| 24 | protected $cerFile; |
||
| 25 | |||
| 26 | /** @var string */ |
||
| 27 | protected $password; |
||
| 28 | |||
| 29 | /** @var string */ |
||
| 30 | protected $extension = 'pfx'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Create a new pfx strategy instance. |
||
| 34 | * |
||
| 35 | * @param array $params |
||
| 36 | * @param string $keyFile |
||
|
|
|||
| 37 | * @param string $cerFile |
||
| 38 | * @param string $password |
||
| 39 | */ |
||
| 40 | public function __construct(array $params) |
||
| 47 | |||
| 48 | public function decode() |
||
| 57 | } |
||
| 58 |
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.