Tim Nagel 13 年之前
父节点
当前提交
33d450fcc7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Gedmo/Tree/Entity/Repository/NestedTreeRepository.php

+ 1 - 1
lib/Gedmo/Tree/Entity/Repository/NestedTreeRepository.php

@@ -289,7 +289,7 @@ class NestedTreeRepository extends AbstractTreeRepository
 
         if (isset($config['root']) && is_null($root)) {
             if (is_null($root)) {
-                throw new InvalidArgumentException("If tree has root, getLiefs method requires any node of this tree");
+                throw new InvalidArgumentException("If tree has root, getLeafs method requires any node of this tree");
             }
         }