Fix tests for legacy phpunit versions

This commit is contained in:
Nicolas Grekas 2018-07-26 13:58:24 +02:00
parent f569f58b66
commit d0eef33763
2 changed files with 2 additions and 2 deletions

View File

@ -60,5 +60,5 @@ interface AttributeMetadataInterface
/**
* Merges an {@see AttributeMetadataInterface} with in the current one.
*/
public function merge(self $attributeMetadata);
public function merge(AttributeMetadataInterface $attributeMetadata);
}

View File

@ -26,7 +26,7 @@ interface ConstraintViolationListInterface extends \Traversable, \Countable, \Ar
/**
* Merges an existing violation list into this list.
*/
public function addAll(self $otherList);
public function addAll(ConstraintViolationListInterface $otherList);
/**
* Returns the violation at a given offset.