-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remove unused "$className" argument #6216
Remove unused "$className" argument #6216
Conversation
* @param string $type | ||
* | ||
* @return string | ||
*/ | ||
protected function getSelectJoinColumnSQL($tableAlias, $joinColumnName, $className, $type) | ||
protected function getSelectJoinColumnSQL($tableAlias, $joinColumnName, $type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a minor BC break, and needs to be documented in UPGRADE.md
@Ocramius now that I looked at it more deeply, this change can break code on users' side as Still valid or can be closed? |
@@ -1,5 +1,9 @@ | |||
# Upgrade to 2.5 | |||
|
|||
## Minor BC BREAK: remove $className parameter on AbstractEntityInheritancePersister#getSelectJoinColumnSQL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put backticks around AbstractEntityInheritancePersister#getSelectJoinColumnSQL
@@ -1,5 +1,9 @@ | |||
# Upgrade to 2.5 | |||
|
|||
## Minor BC BREAK: remove $className parameter on AbstractEntityInheritancePersister#getSelectJoinColumnSQL | |||
|
|||
As `$className` parameter is not used on its method body, it was safely removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/is not used on its method body
/was not used in the method
Persisters are internal API, and we don't support custom userland persisters anyway. This is still valid. |
For v2.6.0, $className argument was removed from `AbstractEntityInheritancePersister#getSelectJoinColumnSQL()` via doctrine#6216. However, the documented minor BC break for upgrading to v2.6 was put under Upgrade to 2.5. This commit fixes this by moving it to v2.6
/cc @Ocramius @lcobucci