[BUGFIX] Invalid method signature for t3lib_tree_extdirect_Node::toArray()
[Packages/TYPO3.CMS.git] / t3lib / tree / class.t3lib_tree_representationnode.php
index ffb0e9f..8a9482a 100644 (file)
@@ -150,9 +150,10 @@ class t3lib_tree_RepresentationNode extends t3lib_tree_Node {
        /**
         * Returns the node in an array representation that can be used for serialization
         *
+        * @param bool $addChildNodes
         * @return array
         */
-       public function toArray() {
+       public function toArray($addChildNodes = TRUE) {
                $arrayRepresentation = parent::toArray();
                $arrayRepresentation = array_merge($arrayRepresentation, array(
                                                                                                                                          'label' => $this->label,