Skip to content

Fix factory-service new syntax #9701

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 1 commit into from
Closed

Fix factory-service new syntax #9701

wants to merge 1 commit into from

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Apr 28, 2018

As I understand, this applies to all versions, not just 4.0. At least, the factory does not work for me, if I use only one :

https://github.com/symfony/dependency-injection/blob/e237279af4735c1566a62853c65de12b3266f0ef/Definition.php#L106-L108

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lex111 good catch! And you are right about Symfony versions too. This applies to 2.7 too (https://github.com/symfony/dependency-injection/blob/ae8effd3cdafad8e2652fccc5e5bcf991dbd6af1/Definition.php#L63-L65) so we'll merge this on 2.7 branch (you don't need to rebase it, we'll do that for you). Thanks!

javiereguiluz added a commit that referenced this pull request May 2, 2018
This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes #9701).

Discussion
----------

Fix factory-service new syntax

As I understand, this applies to all versions, not just 4.0. At least, the factory does not work for me, if I use only one `:`

https://github.com/symfony/dependency-injection/blob/e237279af4735c1566a62853c65de12b3266f0ef/Definition.php#L106-L108

Commits
-------

475cdc7 Fix factory-service new syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants