Commit fb15cca9 authored by alexpott's avatar alexpott

Issue #2536644 by tim.plunkett: generate-proxy-class.php should generate the...

Issue #2536644 by tim.plunkett: generate-proxy-class.php should generate the same file regardless of a missing leading slash
parent e4ac0f81
......@@ -56,7 +56,7 @@ protected function configure() {
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output) {
$class_name = $input->getArgument('class_name');
$class_name = ltrim($input->getArgument('class_name'), '\\');
$namespace_root = $input->getArgument('namespace_root_path');
$match = [];
......@@ -76,7 +76,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
/**
* @file
* Contains {{ proxy_class_name }}.
* Contains \{{ proxy_class_name }}.
*/
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment