-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Main request #385
Main request #385
Conversation
Isn't it a BC break ? I mean, some classes are not final, so introducing a return type should be BC break. Or am I wrong ? |
@Roshyo no, since PHP 7.4 there's full covariance support: https://www.php.net/manual/en/language.oop5.variance.php#language.oop5.variance.covariance |
* @return QueryBuilder | ||
*/ | ||
protected function getCollectionQueryBuilder() | ||
protected function getCollectionQueryBuilder(): QueryBuilder\ |
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.
Is that trailing \
desired ?
@@ -28,14 +28,11 @@ class DefaultParentListener | |||
/** @var DocumentManagerInterface */ | |||
private $documentManager; |
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.
Why not enforcing this one too ?
Copy of #332 to 1.8 branch