-
Notifications
You must be signed in to change notification settings - Fork 417
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
Fix for #1021 and preparation for #1012 #1022
base: master
Are you sure you want to change the base?
Conversation
Especially the doc blocks should now be much better than before.
Especially doc blocks should be much cleaner.
This reverts commit c0c8ed0.
…urn value type integer.
Added `$comparison` as second argument to the `filterByPrimaryKey` methods of the generated query classes.
@@ -670,7 +670,7 @@ protected function addFilterByPrimaryKey(&$script) | |||
* | |||
* @return " . $this->getStubQueryBuilder()->getClassname() . " The current query, for fluid interface | |||
*/ | |||
public function filterByPrimaryKey(\$key) | |||
public function filterByPrimaryKey(\$key, \$comparison = Criteria::EQUAL) | |||
{"; |
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.
Nice patch ;)
Just a minor suggestion:
add the new "@param string $comparison" in the description of this method ;)
You are absolutely right. Thanks. |
+1, but please squash the changes :) |
@@ -1,3 +1,51 @@ | |||
### JetBrains template |
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 should be removed from the projects .gitignore
.
It should be part of your user specific gitignore
(usually at ~/.gitignore
configured via core.excludesfile
).
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.
Jepp. You are right. My very own .gitignore should have not benn part of the commit.
Well, thanks, but v1 is freezed. We're not going to release any new version soon. |
Contains unanswered PR propelorm/Propel#1011changes also.