| 1 | <?php | ||
| 22 | class View | ||
| 23 | { | ||
| 24 | /** | ||
| 25 | * @var AddressBook | ||
| 26 | */ | ||
| 27 | private $oAddressBook; | ||
| 28 | |||
| 29 | /** | ||
| 30 | * View constructor. | ||
| 31 | */ | ||
| 32 | 1 | public function __construct() | |
| 36 | |||
| 37 | /** | ||
| 38 | * @param string $lastName | ||
| 39 | * @param string $number | ||
| 40 | * @param string|null $firstName | ||
| 41 | * @param int $iAccountId | ||
| 42 | * | ||
| 43 | * @return $this | ||
| 44 | */ | ||
| 45 | 1 | public function addContact(string $lastName, string $number, string $firstName = null, int $iAccountId = 1) | |
| 51 | |||
| 52 | /** | ||
| 53 | * @return string | ||
| 54 | */ | ||
| 55 | 1 | public function asTxt() | |
| 59 | } | ||
| 60 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.