@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\ODM\CouchDB\Tools\Console\Command; |
4 | 4 | |
5 | -use Symfony\Component\Console\Input\InputArgument, |
|
6 | - Symfony\Component\Console\Input\InputOption, |
|
7 | - Symfony\Component\Console, |
|
8 | - Doctrine\ODM\CouchDB\Tools\Console\MetadataFilter; |
|
5 | +use Symfony\Component\Console\Input\InputArgument; |
|
6 | +use Symfony\Component\Console\Input\InputOption; |
|
7 | +use Symfony\Component\Console; |
|
8 | +use Doctrine\ODM\CouchDB\Tools\Console\MetadataFilter; |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Command to (re)generate the proxy classes used by doctrine. |
@@ -2,11 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\ODM\CouchDB\Tools\Console\Command; |
4 | 4 | |
5 | -use Symfony\Component\Console\Input\InputArgument, |
|
6 | - Symfony\Component\Console\Input\InputOption, |
|
7 | - Symfony\Component\Console\Input\InputInterface, |
|
8 | - Symfony\Component\Console\Output\OutputInterface, |
|
9 | - Symfony\Component\Console\Command\Command; |
|
5 | +use Symfony\Component\Console\Input\InputArgument; |
|
6 | +use Symfony\Component\Console\Input\InputInterface; |
|
7 | +use Symfony\Component\Console\Output\OutputInterface; |
|
8 | +use Symfony\Component\Console\Command\Command; |
|
10 | 9 | |
11 | 10 | class UpdateDesignDocCommand extends Command |
12 | 11 | { |
@@ -128,6 +128,9 @@ |
||
128 | 128 | $this->metadataResolver); |
129 | 129 | } |
130 | 130 | |
131 | + /** |
|
132 | + * @param string $documentName |
|
133 | + */ |
|
131 | 134 | private function assertValidDocumentType($documentName, $document, $type) |
132 | 135 | { |
133 | 136 | if ($documentName && !($document instanceof $documentName)) { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\ODM\CouchDB; |
4 | 4 | |
5 | -use Doctrine\CouchDB\Attachment; |
|
6 | -use Doctrine\ODM\CouchDB\Mapping\ClassMetadata; |
|
7 | -use Doctrine\ODM\CouchDB\Types\Type; |
|
8 | -use Doctrine\Common\Collections\Collection; |
|
9 | -use Doctrine\Common\Collections\ArrayCollection; |
|
10 | -use Doctrine\CouchDB\HTTP\HTTPException; |
|
5 | +use Doctrine\CouchDB\Attachment; |
|
6 | +use Doctrine\ODM\CouchDB\Mapping\ClassMetadata; |
|
7 | +use Doctrine\ODM\CouchDB\Types\Type; |
|
8 | +use Doctrine\Common\Collections\Collection; |
|
9 | +use Doctrine\Common\Collections\ArrayCollection; |
|
10 | +use Doctrine\CouchDB\HTTP\HTTPException; |
|
11 | 11 | use ProxyManager\Proxy\GhostObjectInterface; |
12 | 12 | |
13 | 13 | /** |
@@ -3,7 +3,7 @@ |
||
3 | 3 | |
4 | 4 | namespace Doctrine\ODM\CouchDB\View; |
5 | 5 | |
6 | -use Doctrine\CouchDB\View\LuceneQuery; |
|
6 | +use Doctrine\CouchDB\View\LuceneQuery; |
|
7 | 7 | use Doctrine\ODM\CouchDB\DocumentManager; |
8 | 8 | |
9 | 9 | class ODMLuceneQuery extends LuceneQuery |
@@ -3,7 +3,7 @@ |
||
3 | 3 | |
4 | 4 | namespace Doctrine\ODM\CouchDB\View; |
5 | 5 | |
6 | -use Doctrine\CouchDB\View\Query; |
|
6 | +use Doctrine\CouchDB\View\Query; |
|
7 | 7 | use Doctrine\ODM\CouchDB\DocumentManager; |
8 | 8 | |
9 | 9 | class ODMQuery extends Query |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Doctrine\Common\Persistence\Mapping\RuntimeReflectionService; |
6 | 6 | use Doctrine\ODM\CouchDB\Configuration; |
7 | 7 | use Doctrine\ODM\CouchDB\Proxy\StaticProxyFactory; |
8 | - |
|
9 | 8 | use ProxyManager\Proxy\GhostObjectInterface; |
10 | 9 | |
11 | 10 | /** |