| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 68 | 6 | private function getReflectionProperty(string $class): \ReflectionProperty |
|
| 69 | { |
||
| 70 | try { |
||
| 71 | 6 | return new \ReflectionProperty($class, $this->property); |
|
| 72 | 2 | } catch (\ReflectionException $e) { |
|
| 73 | 2 | throw DeserializerLogicException::createMissingProperty($class, $this->property); |
|
| 74 | } |
||
| 75 | } |
||
| 76 | } |
||
| 77 |