| Total Complexity | 5 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class ClickMock |
||
| 16 | { |
||
| 17 | protected $user; |
||
| 18 | protected $userIP; |
||
| 19 | |||
| 20 | public function __construct($user, $userIP = '127.0.0.1') |
||
|
|
|||
| 21 | { |
||
| 22 | $this->user = $user; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getId() |
||
| 26 | { |
||
| 27 | return 1; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getUser() |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getReference() |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getUserIP() |
||
| 43 | } |
||
| 44 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.