Merge pull request #4806 from civicrm/4.5
[civicrm-core.git] / CRM / Utils / Tree.php
index d60f73e3bf4dfeeb361308cf92676a83877fdc3f..72f8d5e1575cdc224d642cf7bf9ce3b953338689 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -88,9 +88,9 @@ class CRM_Utils_Tree {
   /**
    * Constructor for the tree.
    *
-   * @param $nodeName
+   * @param string $nodeName
    *
-   * @internal param string $root
+   * @internal param string $rootNode
    *
    * @return CRM_Utils_Tree
    * @access public
@@ -145,7 +145,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Function to check if node is a leaf node.
+   * Check if node is a leaf node.
    * Currently leaf nodes are strings and non-leaf nodes are arrays
    *
    * @param array(
@@ -230,7 +230,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * print the tree
+   * Print the tree
    *
    * @param none
    *