/**
* Merges the constraints of the given metadata into this object.
*/
- public function mergeConstraints(ClassMetadata $source)
+ public function mergeConstraints(self $source)
{
if ($source->isGroupSequenceProvider()) {
$this->setGroupSequenceProvider(true);