mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Add appendError method to ResponseCheckerInterface (#19017)
| Q | A |-----------------|----- | Branch? | 2.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | | License | MIT A missing interface method signature `appendError` is missing in the `ResponseCheckerInterface`, I don't know why PHPStan did not spot this but this method is used here : https://github.com/Sylius/Sylius/blob/2.2/src/Sylius/Behat/Client/ApiPlatformClient.php#L357 therefore the interface method must exists.
This commit is contained in:
commit
249fedec2b
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ interface ResponseCheckerInterface
|
|||
|
||||
public function hasViolationWithMessage(Response $response, string $message, ?string $property = null): bool;
|
||||
|
||||
public function appendError(Response $response): ResponseCheckerInterface;
|
||||
|
||||
public function cleanErrors(): void;
|
||||
|
||||
/** @return array{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue