Adds brackets around each namespace if it's not already the case.
public static fixNamespaceDeclarations ( string $source ) : string | ||
$source | string | Namespace string |
return | string | Namespaces with brackets |
public static fixNamespaceDeclarations ( string $source ) : string | ||
$source | string | Namespace string |
return | string | Namespaces with brackets |