| Conditions | 3 |
| Paths | 3 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public static function getSample() |
||
| 25 | { |
||
| 26 | yield ['empty' => []]; |
||
| 27 | |||
| 28 | $type_enum = [ |
||
| 29 | TypeEnum::STRING |
||
| 30 | , TypeEnum::BOOLEAN |
||
| 31 | , TypeEnum::DOUBLE |
||
| 32 | , TypeEnum::INTEGER |
||
| 33 | , TypeEnum::NULL |
||
| 34 | , TypeEnum::OBJECT |
||
| 35 | , TypeEnum::RESOURCE |
||
| 36 | , TypeEnum::UNKNOWN |
||
| 37 | ]; |
||
| 38 | |||
| 39 | foreach (TypeList::getMockList($type_enum) as $type_gen_list) { |
||
| 40 | /** @noinspection ForeachSourceInspection */ |
||
| 41 | foreach ($type_gen_list as $type_mock) { |
||
| 42 | yield [$type_mock]; |
||
| 43 | } |
||
| 70 | } |