Completed
Push — master ( 4fd24c...726bf0 )
by Tilita
01:56
created
Tree.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
316 316
      */
317 317
     private function logDebug($string)
318 318
     {
319
-        $this->debugData .= $string . '<br/>';
319
+        $this->debugData .= $string.'<br/>';
320 320
     }
321 321
 }
Please login to merge, or discard this patch.
Base/AbstractBranch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.