Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class UserUpdatePassword extends Command |
||
15 | { |
||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | protected $parameters; |
||
20 | |||
21 | /** |
||
22 | * @param int $userId The Principal Id for user |
||
23 | * @param string $newPassword |
||
24 | * @param string $oldPassword |
||
25 | */ |
||
26 | public function __construct($userId, $newPassword, $oldPassword = '') |
||
37 | } |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | * |
||
43 | * @return bool |
||
44 | */ |
||
45 | protected function process() |
||
57 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.