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

Type annotation correction in ResultSetMappingBuilder#addJoinedEntityFromClassMetadata() $relation (should be string) #1541

Merged
merged 1 commit into from Nov 1, 2015

Conversation

aleeeftw
Copy link
Contributor

@aleeeftw aleeeftw commented Nov 1, 2015

The documentation for the method ‘addJoinedEntityFromClassMetadata’ is a little bit wrong. As we can currently see it says you need to pass an object instead of a string. The $relation variable is passed to ‘addJoinedEntityResult’ which is using it as a string.

The documentation for the method ‘addJoinedEntityFromClassMetadata’ is
wrong. As we can see currently says you need to pass an object and that
is wrong. The $relation variable is passed to ‘addJoinedEntityResult’
which is using it as a ‘string’.
@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-3974

We use Jira to track the state of pull requests and the versions they got
included in.

@Ocramius Ocramius self-assigned this Nov 1, 2015
Ocramius added a commit that referenced this pull request Nov 1, 2015
Minor docblock correction
@Ocramius Ocramius merged commit d39a73c into doctrine:master Nov 1, 2015
@Ocramius
Copy link
Member

Ocramius commented Nov 1, 2015

@aleeeftw thanks!

@aleeeftw
Copy link
Contributor Author

aleeeftw commented Nov 1, 2015

@Ocramius thank you too!

@stof
Copy link
Member

stof commented May 12, 2017

@Ocramius can this phpdoc fix be backported in maintenance branches too ? The fix was merged 1.5 year ago, but my project still has the wrong phpdoc, because the master branch has not been released since then

@Ocramius
Copy link
Member

@stof doing that, gimme a sec

Ocramius added a commit that referenced this pull request May 20, 2017
@Ocramius
Copy link
Member

@stof backported via c0f0fe0

@Ocramius Ocramius added this to the 2.5.7 milestone May 20, 2017
@Ocramius Ocramius changed the title Minor docblock correction Type annotation correction in ResultSetMappingBuilder#addJoinedEntityFromClassMetadata() $relation (should be string) Jul 27, 2017
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

5 participants