[Crawler] Fix regression where cdata nodes will return empty string

by @NanoSector

Some issues have been detected in this pull request

Issues that can be fixed by applying a patch

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
     {

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible

0
Deprecation Messages