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 2db3144 commit a1c22cbCopy full SHA for a1c22cb
src/DI/Definitions/Statement.php
@@ -51,7 +51,7 @@ public function __construct($entity, array $arguments = [])
51
52
// normalize Class::method to [Class, method]
53
if (is_string($entity) && Strings::contains($entity, '::') && !Strings::contains($entity, '?')) {
54
- $entity = explode('::', $entity);
+ $entity = explode('::', $entity, 2);
55
}
56
if (is_string($entity) && substr($entity, 0, 1) === '@') { // normalize @service to Reference
57
$entity = new Reference(substr($entity, 1));
0 commit comments