Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| ClassConfig\Annotation\ConfigString | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| getType | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| <?php | |
| namespace ClassConfig\Annotation; | |
| /** | |
| * Class ConfigString | |
| * @package ClassConfig\Annotation | |
| * | |
| * @Annotation | |
| */ | |
| class ConfigString implements ConfigEntryTypeHintInterface | |
| { | |
| /** | |
| * @var string | |
| */ | |
| public $default; | |
| /** | |
| * @inheritDoc | |
| */ | |
| public function getType(): string | |
| { | |
| return 'string'; | |
| } | |
| } |