| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 19 | final class UserInfo implements ComponentInterface |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * URI component "user" |
||
| 24 | * |
||
| 25 | * @var User |
||
| 26 | */ |
||
| 27 | private User $user; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * URI component "password" |
||
| 31 | * |
||
| 32 | * @var Password|null |
||
| 33 | */ |
||
| 34 | private ?Password $password = null; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Constructor of the class |
||
| 38 | * |
||
| 39 | * @param mixed $user |
||
| 40 | * @param mixed $password |
||
| 41 | */ |
||
| 42 | 61 | public function __construct($user, $password = null) |
|
| 48 | } |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | * |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | 44 | public function getValue(): string |
|
| 67 |
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.