Completed
Push — master ( 40a2e1...e1bbf2 )
by Tilita
02:00
created
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.
Tree.php 1 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.