Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | 3 | protected function ensureUseStatements(AbstractPhpStruct $struct) { |
|
14 | 3 | parent::ensureUseStatements($struct); |
|
15 | 3 | $struct->removeUseStatement('Symfony\\Component\\HttpFoundation\\Response'); |
|
16 | 3 | $struct->addUseStatement('Symfony\\Component\\HttpFoundation\\JsonResponse'); |
|
17 | 3 | } |
|
18 | |||
35 |