Commit 8eb2202a authored by catch's avatar catch
Browse files

Issue #3466822 by longwave, mondrake: WebAssertTest fails on 10.x

(cherry picked from commit 03d00963)
parent 606e0a7c
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -452,11 +452,11 @@ public function testEscapingAssertions(): void {
 */
class MockClient extends AbstractBrowser {

  public function setExpectedResponse(Response $response) {
  public function setExpectedResponse(Response $response): void {
    $this->response = $response;
  }

  protected function doRequest(object $request) {
  protected function doRequest(object $request): object {
    return $this->response ?? new Response();
  }