| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class AbstractPort |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $dataBind = ''; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $dataType = ''; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * AbstractPort constructor. |
||
| 23 | * |
||
| 24 | * @param string $dataBind |
||
| 25 | * @param string $dataType |
||
| 26 | */ |
||
| 27 | public function __construct(string $dataBind, string $dataType) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Load Grams |
||
| 35 | * |
||
| 36 | * @return array |
||
| 37 | * @throws \Exception |
||
| 38 | */ |
||
| 39 | protected function loadGrams(): array |
||
| 61 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.