Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | protected function getTranslationsLines() |
||
37 | { |
||
38 | return [ |
||
39 | 'BUNDLE/Resources/translations: BUNDLE/Resources/translations', |
||
40 | 'app/Resources/BUNDLE_NAME/translations: app/Resources/BUNDLE_NAME/translations', |
||
41 | 'app/Resources/translations: app/Resources/translations', |
||
42 | 'THEME/BUNDLE_NAME/translations: THEME/BUNDLE_NAME/translations', |
||
43 | 'THEME/translations: THEME/translations', |
||
44 | 'PARENT_THEME/BUNDLE_NAME/translations: PARENT_THEME/BUNDLE_NAME/translations', |
||
45 | 'PARENT_THEME/translations: PARENT_THEME/translations', |
||
46 | ]; |
||
47 | } |
||
48 | } |
||
49 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.