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

Document future argument better #9766

Merged
merged 1 commit into from
May 18, 2022

Conversation

greg0ire
Copy link
Member

That argument is always provided, so the tests should provide it and the
commented out argument should reflect the future.

This should have been done as part of #9761 but I confused this method with another one and overlooked it.

That argument is always provided, so the tests should provide it and the
commented out argument should reflect the future.
@@ -61,7 +61,7 @@ public function referenceColumnName();
*
* @return string A join column name.
*/
public function joinColumnName($propertyName/*, $className = null */);
public function joinColumnName($propertyName/*, string $className */);
Copy link
Member

Choose a reason for hiding this comment

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

Not that it matters in a comment, but 3.0 has a nullable type.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not after #9755 it won't 😉

@greg0ire greg0ire merged commit 779f9c3 into doctrine:2.13.x May 18, 2022
@greg0ire greg0ire added this to the 2.13.0 milestone May 18, 2022
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.

2 participants