| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 20% |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | abstract class ConfidentialClient extends RegisteredClient implements ConfidentialClientInterface |
||
| 25 | { |
||
| 26 | protected $password; |
||
| 27 | |||
| 28 | public function __construct(string $identifier, string $password, ClientMetadata $metadata) |
||
| 29 | { |
||
| 30 | parent::__construct($identifier, $metadata); |
||
| 31 | $this->password = $password; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 1 | public function getPassword(): string |
|
| 38 | { |
||
| 39 | 1 | return $this->password; |
|
| 40 | } |
||
| 41 | |||
| 42 | public function hasCredentials(): bool |
||
| 43 | { |
||
| 44 | return true; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function requireRedirectUri() : bool { |
||
| 49 | } |
||
| 50 | } |
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.