Browse Source

[tree] typo fix

Patrik Votocek 14 years ago
parent
commit
39f15cf81b
1 changed files with 1 additions and 1 deletions
  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;
     }