| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 1 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 1 |
| CRAP Score | 1.2963 |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | 1 | protected function getNewStaticInstance(object $instance): ObjectProxy |
|
| 35 | { |
||
| 36 | /** |
||
| 37 | * @psalm-suppress UnsafeInstantiation Constructor should be consistent to `getNewStaticInstance()`. |
||
| 38 | */ |
||
| 39 | return new static($this->getService(), $instance, $this->methods, $this->getConfig()); |
||
| 40 | } |
||
| 42 |