File tree 1 file changed +2
-2
lines changed
src/Symfony/Component/DomCrawler
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -596,13 +596,13 @@ public function nodeName()
596
596
* Pass true as the 2nd argument to normalize whitespaces.
597
597
*
598
598
* @param mixed $default When provided and the current node is empty, this value is returned and no exception is thrown
599
- * @param mixed $normalizeWhitespace Whether whitespaces should be trimmed and normalized to single spaces
599
+ * @param bool $normalizeWhitespace Whether whitespaces should be trimmed and normalized to single spaces
600
600
*
601
601
* @return string The node value
602
602
*
603
603
* @throws \InvalidArgumentException When current node is empty
604
604
*/
605
- public function text (/* $default = null, $normalizeWhitespace = true */ )
605
+ public function text (/* $default = null, bool $normalizeWhitespace = false */ )
606
606
{
607
607
if (!$ this ->nodes ) {
608
608
if (0 < \func_num_args ()) {
You can’t perform that action at this time.
0 commit comments