Explorar o código

Fixed the phpdoc and added a missing use statement. Closes #403

Christophe Coevoet %!s(int64=13) %!d(string=hai) anos
pai
achega
9898253452

+ 1 - 0
lib/Gedmo/Tree/RepositoryUtils.php

@@ -4,6 +4,7 @@ namespace Gedmo\Tree;
 
 use Doctrine\Common\Persistence\Mapping\ClassMetadata;
 use Doctrine\Common\Persistence\ObjectManager;
+use Gedmo\Exception\InvalidArgumentException;
 
 class RepositoryUtils implements RepositoryUtilsInterface
 {

+ 5 - 3
lib/Gedmo/Tree/RepositoryUtilsInterface.php

@@ -6,7 +6,8 @@ interface RepositoryUtilsInterface
 {
     /**
      * Retrieves the nested array or the decorated output.
-     * Uses @options to handle decorations
+     *
+     * Uses options to handle decorations
      *
      * @throws \Gedmo\Exception\InvalidArgumentException
      * @param object $node - from which node to start reordering the tree
@@ -27,8 +28,9 @@ interface RepositoryUtilsInterface
 
     /**
      * Retrieves the nested array or the decorated output.
-     * Uses @options to handle decorations
-     * NOTE: @nodes should be fetched and hydrated as array
+     *
+     * Uses options to handle decorations
+     * NOTE: nodes should be fetched and hydrated as array
      *
      * @throws \Gedmo\Exception\InvalidArgumentException
      * @param array $nodes - list o nodes to build tree