We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 478fbdc commit f167b50Copy full SHA for f167b50
src/Symfony/Component/DependencyInjection/Definition.php
@@ -144,7 +144,7 @@ public function setFactoryMethod($factoryMethod)
144
*/
145
public function setDecoratedService($id, $renamedId = null)
146
{
147
- if ($renamedId && $id == $renamedId) {
+ if ($renamedId && $id === $renamedId) {
148
throw new \InvalidArgumentException(sprintf('The decorated service inner name for "%s" must be different than the service name itself.', $id));
149
}
150
0 commit comments