Skip to content

Commit 117563a

Browse files
cs fix bis
1 parent b83aff7 commit 117563a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Crawler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()) {

0 commit comments

Comments
 (0)