| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function provideProperties(): \Generator |
||
| 29 | { |
||
| 30 | yield 'string' => [ |
||
| 31 | new \ReflectionProperty(TestObject::class, 'foo'), |
||
| 32 | 'string', |
||
| 33 | ]; |
||
| 34 | |||
| 35 | yield 'int' => [ |
||
| 36 | new \ReflectionProperty(TestObject::class, 'bar'), |
||
| 37 | 'int', |
||
| 38 | ]; |
||
| 39 | |||
| 40 | yield 'bool' => [ |
||
| 41 | new \ReflectionProperty(TestObject::class, 'baz'), |
||
| 42 | 'bool', |
||
| 43 | ]; |
||
| 44 | |||
| 45 | yield 'datetime' => [ |
||
| 46 | new \ReflectionProperty(TestObject::class, 'date'), |
||
| 47 | 'string', |
||
| 48 | ]; |
||
| 51 |