-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[DependencyInjection] Simplified code in AutowirePass #17900
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
Conversation
hason
commented
Feb 23, 2016
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | |
License | MIT |
Doc PR |
@@ -148,45 +148,17 @@ private function populateAvailableType($id, Definition $definition) | |||
$this->types[$type] = $id; | |||
} | |||
|
|||
// Cannot use reflection if the class isn't set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you keep this comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the comment then :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved.
👍 |
{ | ||
} | ||
|
||
class F extends I implements EInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you also needs the case of an interface extending another interface (and the class implementing the child one), to be sure it works fine too
Thank you @hason. |
…ason) This PR was merged into the 2.8 branch. Discussion ---------- [DependencyInjection] Simplified code in AutowirePass | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- ce0357e [DependencyInjection] Simplified code in AutowirePass