8000 [DI] Handle root namespace in service definitions by ro0NL · Pull Request #23468 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DI] Handle root namespace in service definitions #23468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loa 8000 ding
Diff view
Diff view
Prev Previous commit
optimize
  • Loading branch information
ro0NL authored Jul 11, 2017
commit 60b371d9ab7a8f421f3c34ecb25ef27b09b39725
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ private function dumpLiteralClass($class)

$class = substr(str_replace('\\\\', '\\', $class), 1, -1);

return '\\' === substr($class, 0, 1) ? $class : '\\'.$class;
return 0 === strpos($class, '\\') ? $class : '\\'.$class;
}

/**
Expand Down
0