| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class InvalidElement extends \InvalidArgumentException implements Exception |
||
| 12 | { |
||
| 13 | /** @var mixed */ |
||
| 14 | protected $var; |
||
| 15 | |||
| 16 | /** @var string */ |
||
| 17 | protected $needType; |
||
| 18 | |||
| 19 | public function __construct( |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getVar() |
||
| 38 | { |
||
| 39 | return $this->var; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getNeedType(): string |
||
| 45 | } |
||
| 46 | } |
||
| 47 |