소스 검색

[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;
     }