Completed
Pull Request — master (#154)
by
unknown
05:50 queued 01:40
created
lib/Doctrine/ODM/CouchDB/Configuration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
     /**
251 251
      * @param string $name
252 252
      * @param string $className
253
-     * @param array $options
253
+     * @param string $options
254 254
      */
255 255
     public function addDesignDocument($name, $className, $options)
256 256
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/DocumentManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
     /**
259 259
      * Refresh the given document by querying the CouchDB to get the current state.
260 260
      *
261
-     * @param object $document
261
+     * @param \ProxyManager\Proxy\GhostObjectInterface $document
262 262
      */
263 263
     public function refresh($document)
264 264
     {
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     }
304 304
 
305 305
     /**
306
-     * @param  object $document
306
+     * @param  \Doctrine\Tests\Models\CMS\CmsUser $document
307 307
      * @return bool
308 308
      */
309 309
     public function contains($document)
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadata.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
      *      - reflClass (ReflectionClass)
271 271
      *      - reflFields (ReflectionProperty array)
272 272
      *
273
-     * @return array The names of all the fields that should be serialized.
273
+     * @return string[] The names of all the fields that should be serialized.
274 274
      */
275 275
     public function __sleep()
276 276
     {
@@ -330,6 +330,7 @@  discard block
 block discarded – undo
330 330
 
331 331
     /**
332 332
      * Restores some state that can not be serialized/unserialized.
333
+     * @param \Doctrine\Common\Persistence\Mapping\RuntimeReflectionService $reflService
333 334
      */
334 335
     public function wakeupReflection($reflService)
335 336
     {
@@ -518,7 +519,7 @@  discard block
 block discarded – undo
518 519
      * Since CouchDB only allows exactly one identifier field this is a proxy
519 520
      * to {@see getIdentifier()} and returns an array.
520 521
      *
521
-     * @return array
522
+     * @return string[]
522 523
      */
523 524
     public function getIdentifierFieldNames()
524 525
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadataFactory.php 1 patch
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB\Mapping;
4 4
 
5
-use Doctrine\ODM\CouchDB\DocumentManager,
6
-    Doctrine\Common\Persistence\Mapping\Driver\MappingDriver,
7
-    Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface,
8
-    Doctrine\Common\Persistence\Mapping\ReflectionService,
9
-    Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory;
5
+use Doctrine\ODM\CouchDB\DocumentManager;
6
+use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
7
+use Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface;
8
+use Doctrine\Common\Persistence\Mapping\ReflectionService;
9
+use Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory;
10 10
 
11 11
 /**
12 12
  * The ClassMetadataFactory is used to create ClassMetadata objects that contain all the
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ODM/CouchDB/Proxy/ProxyFactoryTest.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -10,12 +10,7 @@
 block discarded – undo
10 10
 use Doctrine\ODM\CouchDB\UnitOfWork;
11 11
 use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
12 12
 use Doctrine\ODM\CouchDB\Mapping\ClassMetadataFactory;
13
-
14
-use Doctrine\Tests\Models\ECommerce\ECommerceCart;
15
-use Doctrine\Tests\Models\ECommerce\ECommerceCustomer;
16 13
 use Doctrine\Tests\Models\ECommerce\ECommerceFeature;
17
-use Doctrine\Tests\Models\ECommerce\ECommerceProduct;
18
-use Doctrine\Tests\Models\ECommerce\ECommerceShipping;
19 14
 use ProxyManager\Proxy\GhostObjectInterface;
20 15
 
21 16
 /**
Please login to merge, or discard this patch.