From 15c98f6c7b069378bfac0556e04497aeded3fb87 Mon Sep 17 00:00:00 2001
From: Lee Rowlands <lee.rowlands@previousnext.com.au>
Date: Sat, 18 Sep 2021 11:29:02 +1000
Subject: [PATCH] Issue #3231390 by catch, daffie: [symfony 6] Add an object
 return type hint to Drupal\Tests\DrupalTestBrowser::doRequest()

---
 core/tests/Drupal/Tests/DrupalTestBrowser.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/tests/Drupal/Tests/DrupalTestBrowser.php b/core/tests/Drupal/Tests/DrupalTestBrowser.php
index 55584b1dc6e9..5895a30dc3f0 100644
--- a/core/tests/Drupal/Tests/DrupalTestBrowser.php
+++ b/core/tests/Drupal/Tests/DrupalTestBrowser.php
@@ -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));
-- 
GitLab