Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:
curl https://fabbot.io/patch/symfony/symfony/40750/8897fca73024ae6fe672db59a39660371ba65a5b/cs.diff | patch -p0
diff -ru src/Symfony/Component/HttpFoundation/Request.php src/Symfony/Component/HttpFoundation/Request.php
--- src/Symfony/Component/HttpFoundation/Request.php 2022-10-04 09:06:28.316544211 +0000
+++ src/Symfony/Component/HttpFoundation/Request.php 2022-10-04 09:06:46.017387999 +0000
@@ -1454,6 +1454,7 @@
* @param bool $asResource If true, a resource will be returned
*
* @return string|resource
+ *
* @psalm-return ($asResource is true ? resource : string)
*/
public function getContent(bool $asResource = false)