Skip to content

Commit 86bef61

Browse files
committed
Update AutowiredAttributeServicesExtension.php
1 parent 7f3d0f6 commit 86bef61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/AutowiredAttributeServicesExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function processParameters(string $className, ServiceDefinition $definit
135135
{
136136
$builder = $this->getContainerBuilder();
137137
foreach ($autowiredParameters as $autowiredParameter) {
138-
if ($autowiredParameter->method === '' || $autowiredParameter->method[0] !== '_') {
138+
if ($autowiredParameter->method[0] !== '_') {
139139
continue;
140140
}
141141

0 commit comments

Comments
 (0)