Diglin\Swisspost\StructType\ServiceCodeAttributes::__construct
Constructor method for ServiceCodeAttributes
Signature
public function __construct([array
$pRZL = ,
[string
$freeText = NULL,
[string
$deliveryDate = NULL,
[int
$parcelNo = NULL,
[int
$parcelTotal = NULL,
[string
$deliveryPlace = NULL,
[bool
$proClima = NULL,
[ReturnInfoType
$returnInfo = NULL,
[Dimensions
$dimensions = NULL,
[UNNumbers
$uNNumbers = NULL]]]]]]]]]] )
Parameters
$pRZL— array
$freeText— string$deliveryDate— string$parcelNo— int$parcelTotal— int$deliveryPlace— string$proClima— object
$returnInfo— \Diglin\Swisspost\StructType\ReturnInfoType
$dimensions— \Diglin\Swisspost\StructType\Dimensions
$uNNumbers— \Diglin\Swisspost\StructType\UNNumbers
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 121 - 134 | ExcessiveParameterList | The method __construct has 10 parameters. Consider reducing the number of parameters to less than 10. |