| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 17 | 22 | public function __construct(SchemaAttributeInterface $property) |
|
| 18 | 22 | { |
|
| 19 | 22 | $name = $this->getInflector()->camelProperty($property->name()); |
|
| 20 | $typehint = $property->typeHint(); |
||
| 21 | 22 | $required = $property->isRequired(); |
|
| 22 | |||
| 23 | 22 | parent::__construct(\compact('name', 'typehint', 'required')); |
|
| 24 | 22 | } |
|
| 36 |