@@ -54,7 +54,7 @@ |
||
| 54 | 54 | * |
| 55 | 55 | * @throws \InvalidArgumentException |
| 56 | 56 | * |
| 57 | - * @return \Doctrine\ORM\EntityManager |
|
| 57 | + * @return DocumentManager |
|
| 58 | 58 | */ |
| 59 | 59 | public static function build(array $options) |
| 60 | 60 | { |
@@ -9,7 +9,6 @@ discard block |
||
| 9 | 9 | |
| 10 | 10 | namespace Jgut\Slim\Doctrine; |
| 11 | 11 | |
| 12 | -use InvalidArgumentException; |
|
| 13 | 12 | use Doctrine\Common\Annotations\AnnotationRegistry; |
| 14 | 13 | use Doctrine\Common\Cache\Cache; |
| 15 | 14 | use Doctrine\Common\Proxy\AbstractProxyFactory; |
@@ -19,6 +18,7 @@ discard block |
||
| 19 | 18 | use Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver; |
| 20 | 19 | use Doctrine\ODM\MongoDB\Mapping\Driver\XmlDriver; |
| 21 | 20 | use Doctrine\ODM\MongoDB\Mapping\Driver\YamlDriver; |
| 21 | +use InvalidArgumentException; |
|
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * Doctrine Document Manager service builder. |