@@ -554,13 +554,13 @@ public function nodeName()
554554/**
555555 * Returns the node value of the first node of the list.
556556 *
557- * @parammixed $defaultWhen provided and the current node is empty, this value is returned and no exception is thrown
557+ * @paramstring|null $defaultThe value to return when the current node is empty
558558 *
559559 * @return string The node value
560560 *
561561 * @throws \InvalidArgumentException When current node is empty
562562 */
563- public function text (/* $default = null */ )
563+ public function text (/*string $default = null */ )
564564 {
565565if (!$ this ->nodes ) {
566566if (0 <\func_num_args ()) {
@@ -576,13 +576,13 @@ public function text(/* $default = null */)
576576/**
577577 * Returns the first node of the list as HTML.
578578 *
579- * @parammixed $defaultWhen provided and the current node is empty, this value is returned and no exception is thrown
579+ * @paramstring|null $defaultThe value to return when the current node is empty
580580 *
581581 * @return string The node html
582582 *
583583 * @throws \InvalidArgumentException When current node is empty
584584 */
585- public function html (/* $default = null */ )
585+ public function html (/*string $default = null */ )
586586 {
587587if (!$ this ->nodes ) {
588588if (0 <\func_num_args ()) {