Unverified Commit 15c98f6c authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3231390 by catch, daffie: [symfony 6] Add an object return type hint to...

Issue #3231390 by catch, daffie: [symfony 6] Add an object return type hint to Drupal\Tests\DrupalTestBrowser::doRequest()
parent 57a900bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ public function getClient() {
  /**
   * {@inheritdoc}
   */
  protected function doRequest($request) {
  protected function doRequest($request): object {
    $headers = [];
    foreach ($request->getServer() as $key => $val) {
      $key = strtolower(str_replace('_', '-', $key));