| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Manager |
||
| 11 | { |
||
| 12 | private $blacklist; |
||
| 13 | |||
| 14 | public function __construct(Blacklist $blacklist) |
||
| 17 | } |
||
| 18 | |||
| 19 | public function login(Token $token) |
||
|
|
|||
| 20 | { |
||
| 21 | } |
||
| 22 | |||
| 23 | public function logout(Token $token) |
||
| 24 | { |
||
| 25 | $this->blacklist->add($token); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function refresh(Token $token) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Undocumented function |
||
| 34 | * |
||
| 35 | * @param Token $token |
||
| 36 | * @return boolean |
||
| 37 | */ |
||
| 38 | public function hasBlacklist(Token $token) |
||
| 41 | } |
||
| 42 | } |
||
| 43 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.