Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
25 | 1 | public function getFakerProviderFqnFromFieldTraitReflection(\ts\Reflection\ReflectionClass $fieldTraitReflection |
|
26 | ): string |
||
27 | { |
||
28 | 1 | return \str_replace( |
|
29 | [ |
||
30 | 1 | '\\Traits\\', |
|
31 | 'FieldTrait', |
||
32 | ], |
||
33 | [ |
||
34 | 1 | '\\FakerData\\', |
|
35 | 'FakerData', |
||
36 | ], |
||
37 | 1 | $fieldTraitReflection->getName() |
|
38 | ); |
||
59 |