| Total Complexity | 6 |
| Total Lines | 74 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class AuthenticateRequest extends RequestClient |
||
| 9 | {
|
||
| 10 | /** |
||
| 11 | * With the auto injector, |
||
| 12 | * all the indices in the array are executed as methods |
||
| 13 | * and the global input is automatically injected. |
||
| 14 | * |
||
| 15 | * @var array $autoInject |
||
| 16 | */ |
||
| 17 | protected $autoInject = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The values expected by the server. |
||
| 21 | * |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $expected = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * mandatory http method. |
||
| 28 | * |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | protected $http = []; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var null|object |
||
| 35 | */ |
||
| 36 | protected $credentials; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * AuthenticateRequest constructor. |
||
| 40 | * @param AuthLoginCredentialsManager $credentials |
||
| 41 | */ |
||
| 42 | public function __construct($credentials) |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param $credentials |
||
| 56 | */ |
||
| 57 | public function credentials($credentials) |
||
| 69 | } |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @var string |
||
| 73 | */ |
||
| 74 | protected $password; |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return string |
||
| 78 | */ |
||
| 79 | protected function password() |
||
| 82 | } |
||
| 83 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.