浏览代码

[tree] typo fix

Patrik Votocek 14 年之前
父节点
当前提交
39f15cf81b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Gedmo/Tree/Entity/Repository/NestedTreeRepository.php

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

@@ -71,7 +71,7 @@ class NestedTreeRepository extends AbstractTreeRepository
                 );
             }
         } else {
-            throw \Gedmo\Exception\InvalidArgumentException("Node is not related to this repository");
+            throw new \Gedmo\Exception\InvalidArgumentException("Node is not related to this repository");
         }
         return $result;
     }