Skip to content

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.

4 participants