Explorar o código

Merge pull request #137 from merk/patch-1

Typo
Gediminas Morkevicius %!s(int64=13) %!d(string=hai) anos
pai
achega
02927242f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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");
             }
         }