Skip to content

Commit d8eb0eb

Browse files
authored
Fix scoped \ cleared on single quote string on ControllerMethodInjectionToConstructorRector (#879)
1 parent fee9474 commit d8eb0eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/CodeQuality/Rector/Class_/ControllerMethodInjectionToConstructorRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class ControllerMethodInjectionToConstructorRector extends AbstractRector
3434
/**
3535
* @var string[]
3636
*/
37-
private const COMMON_ENTITY_CONTAINS_SUBNAMESPACES = ['\\Entity', '\\Document', '\\Model'];
37+
private const COMMON_ENTITY_CONTAINS_SUBNAMESPACES = ["\\Entity", "\\Document", "\\Model"];
3838

3939
public function __construct(
4040
private readonly ControllerAnalyzer $controllerAnalyzer,

0 commit comments

Comments
 (0)