Fix tests for legacy phpunit versions
This commit is contained in:
parent
f569f58b66
commit
d0eef33763
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Reference in New Issue