@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Delegate an adapter for the wanted output |
108 | 108 | * @param Adapter $adapter |
109 | - * @return \TreeBuilder\Tree |
|
109 | + * @return Tree |
|
110 | 110 | */ |
111 | 111 | public function registerAdapter(Adapter $adapter) |
112 | 112 | { |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | /** |
118 | 118 | * Set the build mode identified by local constants |
119 | 119 | * @param int $value |
120 | - * @return \TreeBuilder\Tree |
|
120 | + * @return Tree |
|
121 | 121 | */ |
122 | 122 | public function setBuildMode($value) |
123 | 123 | { |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | list($endUsec, $endSec) = explode(" ", microtime()); |
231 | 231 | $diffSec = intval($endSec) - intval($startSec); |
232 | 232 | $diffUsec = floatval($endUsec) - floatval($startUsec); |
233 | - $this->logDebug("Compiled tree in " . floatval($diffSec) + $diffUsec); |
|
233 | + $this->logDebug("Compiled tree in ".floatval($diffSec) + $diffUsec); |
|
234 | 234 | } |
235 | 235 | $this->compiled = true; |
236 | 236 | } |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | */ |
281 | 281 | private function addLeftRight(array $items, $left = 1) |
282 | 282 | { |
283 | - $right = $left+1; |
|
283 | + $right = $left + 1; |
|
284 | 284 | foreach ($items as $item) { |
285 | 285 | $item->setLeft($left); |
286 | 286 | if ($item->hasChildren()) { |
@@ -316,6 +316,6 @@ discard block |
||
316 | 316 | */ |
317 | 317 | private function logDebug($string) |
318 | 318 | { |
319 | - $this->debugData .= $string . '<br/>'; |
|
319 | + $this->debugData .= $string.'<br/>'; |
|
320 | 320 | } |
321 | 321 | } |
@@ -50,7 +50,7 @@ |
||
50 | 50 | /** |
51 | 51 | * Set the Parent of the current branch |
52 | 52 | * @param Branch $item |
53 | - * @return Branch |
|
53 | + * @return AbstractBranch |
|
54 | 54 | */ |
55 | 55 | public function setParent(Branch $item) |
56 | 56 | { |