File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/DomCrawler Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -596,13 +596,13 @@ public function nodeName()
596596 * Pass true as the 2nd argument to normalize whitespaces.
597597 *
598598 * @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
600600 *
601601 * @return string The node value
602602 *
603603 * @throws \InvalidArgumentException When current node is empty
604604 */
605- public function text (/* $default = null, $normalizeWhitespace = true */ )
605+ public function text (/* $default = null, bool $normalizeWhitespace = false */ )
606606 {
607607 if (!$ this ->nodes ) {
608608 if (0 < \func_num_args ()) {
You can’t perform that action at this time.
0 commit comments