| 1 | <?php |
||
| 13 | class PortDefinition implements \JsonSerializable |
||
| 14 | { |
||
| 15 | const DIC = self::class; |
||
| 16 | public $port = 0; |
||
| 17 | |||
| 18 | public $protocol = 'tcp'; |
||
| 19 | |||
| 20 | public $name = null; |
||
| 21 | |||
| 22 | public $labels = null; |
||
| 23 | |||
| 24 | 5 | public function __construct($data = []) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritdoc |
||
| 39 | */ |
||
| 40 | public function jsonSerialize() |
||
| 48 | } |
||
| 49 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.