@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * @param DataStructures\Trees\Nodes\AVLNode|null $left the left child node. |
| 33 | 33 | * @param DataStructures\Trees\Nodes\AVLNode|null $right the right child node. |
| 34 | 34 | * |
| 35 | - * @return DataStructures\Trees\Nodes\AVLNode the new node created. |
|
| 35 | + * @return AVLNode the new node created. |
|
| 36 | 36 | */ |
| 37 | 37 | public function createNode($key, $data, $parent = null, $left = null, $right = null) { |
| 38 | 38 | return new AVLNode($key, $data, $parent, $left, $right); |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * Does a right rotation. |
| 43 | 43 | * |
| 44 | - * @param DataStructures\Trees\Nodes\AVLNode $node The node to be |
|
| 44 | + * @param AVLNode $node The node to be |
|
| 45 | 45 | * rotated. |
| 46 | 46 | * @return DataStructures\Trees\Nodes\AVLNode |
| 47 | 47 | */ |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | /** |
| 75 | 75 | * Does a right rotation. |
| 76 | 76 | * |
| 77 | - * @param DataStructures\Trees\Nodes\AVLNode $node The node to be |
|
| 77 | + * @param AVLNode $node The node to be |
|
| 78 | 78 | * rotated. |
| 79 | 79 | * @return DataStructures\Trees\Nodes\AVLNode |
| 80 | 80 | */ |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | * in the subtree root that detects the imbalance. |
| 113 | 113 | * Case Right-Left. |
| 114 | 114 | * |
| 115 | - * @param DataStructures\Trees\Nodes\AVLNode $node The node to be |
|
| 115 | + * @param AVLNode $node The node to be |
|
| 116 | 116 | * rotated. |
| 117 | 117 | * @return DataStructures\Trees\Nodes\AVLNode |
| 118 | 118 | */ |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * in the subtree root that detects the imbalance. |
| 128 | 128 | * Case Left-Right. |
| 129 | 129 | * |
| 130 | - * @param DataStructures\Trees\Nodes\AVLNode $node The node to be |
|
| 130 | + * @param AVLNode $node The node to be |
|
| 131 | 131 | * rotated. |
| 132 | 132 | * @return DataStructures\Trees\Nodes\AVLNode |
| 133 | 133 | */ |