| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | trait WithTypeDeclaration |
||
| 11 | { |
||
| 12 | /** @var TypeDeclaration */ |
||
| 13 | protected $type; |
||
| 14 | |||
| 15 | /** @see HasType::isAReference() for more details */ |
||
| 16 | 51 | public function isAReference(): bool |
|
| 19 | } |
||
| 20 | |||
| 21 | /** @see HasType::hasTypeDeclaration() for more details */ |
||
| 22 | 66 | public function hasTypeDeclaration(): bool |
|
| 25 | } |
||
| 26 | |||
| 27 | /** @see HasType::type() for more details */ |
||
| 28 | 39 | public function type(): TypeDeclaration |
|
| 33 |