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/49195/184a1d1a597b94aea8fd37bdbdd3824120923c09/cs.diff | patch -p0
diff -ru src/Symfony/Component/DomCrawler/Crawler.php src/Symfony/Component/DomCrawler/Crawler.php
--- src/Symfony/Component/DomCrawler/Crawler.php 2023-05-25 17:32:57.929408118 +0000
+++ src/Symfony/Component/DomCrawler/Crawler.php 2023-05-25 17:33:04.055764264 +0000
@@ -58,7 +58,6 @@
*/
private bool $isHtml = true;
-
private ?HTML5 $html5Parser = null;
/**
@@ -580,8 +579,6 @@
/**
* Returns only the inner text that is the direct descendent of the current node, excluding any child nodes.
- *
- * @param bool $normalizeWhitespace Whether whitespaces should be trimmed and normalized to single spaces
*/
public function innerText(/* bool $normalizeWhitespace = true */): string
{