8000 cs fix bis · symfony/symfony@f5d3d5f · GitHub
[go: up one dir, main page]

Skip to content

Commit f5d3d5f

Browse files
cs fix bis
1 parent 7a3a664 commit f5d3d5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/DomCrawler/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)
0