Pārlūkot izejas kodu

Merge pull request #106 from leevigraham/patch-1

Edited doc/tree.md via GitHub
Christophe Coevoet 14 gadi atpakaļ
vecāks
revīzija
2cfe6e68a4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      doc/tree.md

+ 1 - 1
doc/tree.md

@@ -186,7 +186,7 @@ cache is activated
             return $this->title;
             return $this->title;
         }
         }
         
         
-        public function setParent(Category $parent)
+        public function setParent(Category $parent = null)
         {
         {
             $this->parent = $parent;    
             $this->parent = $parent;    
         }
         }