| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 62 | 18 | private function getTestDoubleProperties(/*object */$testCase): array |
|
| 63 | { |
||
| 64 | 18 | return $this->extractor->extract($testCase, function (Property $property): bool { |
|
| 65 | $doubleTypes = $property->getTypesFiltered(function (string $type): bool { |
||
| 66 | return $type === $this->doubleType; |
||
| 67 | }); |
||
| 68 | |||
| 69 | return \count($doubleTypes) > 0; |
||
| 70 | 18 | }); |
|
| 73 |