diff --git a/src/Templating/Helper/Cmf.php b/src/Templating/Helper/Cmf.php index 30bd2659261e1bd667b88df78359f9b02f46489f..109448140e227e6007329e7f4f8c20346bf97032 100644 --- a/src/Templating/Helper/Cmf.php +++ b/src/Templating/Helper/Cmf.php @@ -389,7 +389,6 @@ class Cmf * Gets the paths of children, updating the $children parameter. * * @param string[] $children - * @param ?int $depth */ private function getChildrenPaths(?string $path, array &$children, ?int $depth): void { diff --git a/tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php b/tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php index f82f84a15f330afbe6a0ca88d8b3f9d5f91bf378..89379afadb4a43917801302b6173fc565094bbf8 100644 --- a/tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php +++ b/tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php @@ -60,7 +60,7 @@ class CheckboxUrlLabelFormTypeTest extends BaseTestCase // the top level $dom->loadXml(''.$html.''); } catch (\Exception $e) { - $this->fail(sprintf( + $this->fail(\sprintf( "Failed loading HTML:\n\n%s\n\nError: %s", $html, $e->getMessage() @@ -71,7 +71,7 @@ class CheckboxUrlLabelFormTypeTest extends BaseTestCase if ($nodeList->length !== $count) { $dom->formatOutput = true; - $this->fail(sprintf( + $this->fail(\sprintf( "Failed asserting that \n\n%s\n\nmatches exactly %s. Matches %s in \n\n%s", $expression, 1 === $count ? 'once' : $count.' times',