Skip to content
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

[Validator] Fix finding translator parent definition in compiler pass #31442

Merged
merged 1 commit into from May 11, 2019

Conversation

deguif
Copy link
Contributor

@deguif deguif commented May 9, 2019

Q A
Branch? 4.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Method ChildDefintion::getParent() returns a string, but here it is expected to return an object of class Definition in order to call getClass on it in the loop.

@deguif deguif changed the base branch from master to 4.2 May 9, 2019 13:24
@nicolas-grekas
Copy link
Member

Thank you @deguif.

@nicolas-grekas nicolas-grekas merged commit d261bb5 into symfony:4.2 May 11, 2019
nicolas-grekas added a commit that referenced this pull request May 11, 2019
…mpiler pass (deguif)

This PR was merged into the 4.2 branch.

Discussion
----------

[Validator] Fix finding translator parent definition in compiler pass

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Method `ChildDefintion::getParent()` returns a string, but here it is expected to return an object of class `Definition` in order to call `getClass` on it in the loop.

Commits
-------

d261bb5 Fix finding parent definition
@deguif deguif deleted the fix-parent-definition branch May 13, 2019 07:05
This was referenced May 22, 2019
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.

None yet

4 participants