Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class ChangeStoreDetailsType extends StoreDetailsType |
||
16 | { |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $hash = null; |
||
21 | |||
22 | /** |
||
23 | * Constructor. |
||
24 | * |
||
25 | * @param string $hash |
||
26 | * @param string $code |
||
27 | * @param string $name |
||
28 | * @param AddressType $address |
||
29 | * @param coordinatesType|null $coordinates |
||
30 | * @param businessHoursType|null $businessHours |
||
31 | */ |
||
32 | public function __construct($hash, $code, $name, AddressType $address, coordinatesType $coordinates = null, businessHoursType $businessHours = null) |
||
|
|||
33 | { |
||
34 | parent::__construct($code, $name, $address, $coordinates = null, $businessHours = null); |
||
35 | $this->hash = $hash; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getHash() |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @param string $hash |
||
48 | * |
||
49 | * @return $this |
||
50 | */ |
||
51 | public function setHash($hash) |
||
58 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.