Skip to content

Commit d0eef33

Browse files
Fix tests for legacy phpunit versions
1 parent f569f58 commit d0eef33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Mapping/AttributeMetadataInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ public function getMaxDepth();
6060
/**
6161
* Merges an {@see AttributeMetadataInterface} with in the current one.
6262
*/
63-
public function merge(self $attributeMetadata);
63+
public function merge(AttributeMetadataInterface $attributeMetadata);
6464
}

src/Symfony/Component/Validator/ConstraintViolationListInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function add(ConstraintViolationInterface $violation);
2626
/**
2727
* Merges an existing violation list into this list.
2828
*/
29-
public function addAll(self $otherList);
29+
public function addAll(ConstraintViolationListInterface $otherList);
3030

3131
/**
3232
* Returns the violation at a given offset.

0 commit comments

Comments
 (0)