Completed
Pull Request — master (#5579)
by Huberty
05:57
created
lib/Doctrine/ORM/AbstractQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -317,7 +317,7 @@
 block discarded – undo
317 317
     /**
318 318
      * Gets a query parameter.
319 319
      *
320
-     * @param mixed $key The key (index or name) of the bound parameter.
320
+     * @param string $key The key (index or name) of the bound parameter.
321 321
      *
322 322
      * @return Query\Parameter|null The value of the bound parameter, or NULL if not available.
323 323
      */
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Entity/AbstractEntityPersister.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
     /**
283 283
      * Generates a string of currently query
284 284
      *
285
-     * @param array   $query
285
+     * @param string   $query
286 286
      * @param string  $criteria
287 287
      * @param array   $orderBy
288 288
      * @param integer $limit
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Configuration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     /**
92 92
      * Sets the strategy for automatically generating proxy classes.
93 93
      *
94
-     * @param boolean|int $autoGenerate Possible values are constants of Doctrine\Common\Proxy\AbstractProxyFactory.
94
+     * @param boolean $autoGenerate Possible values are constants of Doctrine\Common\Proxy\AbstractProxyFactory.
95 95
      *                                  True is converted to AUTOGENERATE_ALWAYS, false to AUTOGENERATE_NEVER.
96 96
      *
97 97
      * @return void
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -667,7 +667,7 @@  discard block
 block discarded – undo
667 667
     /**
668 668
      * Gets the ReflectionProperties of the mapped class.
669 669
      *
670
-     * @return array An array of ReflectionProperty instances.
670
+     * @return \ReflectionProperty[] An array of ReflectionProperty instances.
671 671
      */
672 672
     public function getReflectionProperties()
673 673
     {
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
      *      - reflClass (ReflectionClass)
806 806
      *      - reflFields (ReflectionProperty array)
807 807
      *
808
-     * @return array The names of all the fields that should be serialized.
808
+     * @return string[] The names of all the fields that should be serialized.
809 809
      */
810 810
     public function __sleep()
811 811
     {
@@ -905,7 +905,7 @@  discard block
 block discarded – undo
905 905
     /**
906 906
      * Creates a new instance of the mapped class, without invoking the constructor.
907 907
      *
908
-     * @return object
908
+     * @return ClassMetadata
909 909
      */
910 910
     public function newInstance()
911 911
     {
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/NamingStrategy.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,6 @@
 block discarded – undo
70 70
      * Returns a join column name for a property.
71 71
      *
72 72
      * @param string $propertyName A property name.
73
-     * @param string|null $className    The fully-qualified class name.
74
-     *                                  This parameter is omitted from the signature due to BC
75 73
      *
76 74
      * @return string A join column name.
77 75
      */
Please login to merge, or discard this patch.
lib/Doctrine/ORM/NativeQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Gets the SQL query.
51 51
      *
52
-     * @return mixed The built SQL query or an array of all SQL queries.
52
+     * @return string The built SQL query or an array of all SQL queries.
53 53
      *
54 54
      * @override
55 55
      */
Please login to merge, or discard this patch.
lib/Doctrine/ORM/PersistentCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -579,7 +579,7 @@
 block discarded – undo
579 579
      * Internal note: Tried to implement Serializable first but that did not work well
580 580
      *                with circular references. This solution seems simpler and works well.
581 581
      *
582
-     * @return array
582
+     * @return string[]
583 583
      */
584 584
     public function __sleep()
585 585
     {
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Proxy/ProxyFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      * @param EntityManagerInterface $em           The EntityManager the new factory works for.
70 70
      * @param string                 $proxyDir     The directory to use for the proxy classes. It must exist.
71 71
      * @param string                 $proxyNs      The namespace to use for the proxy classes.
72
-     * @param boolean|int            $autoGenerate The strategy for automatically generating proxy classes. Possible
72
+     * @param integer            $autoGenerate The strategy for automatically generating proxy classes. Possible
73 73
      *                                             values are constants of Doctrine\Common\Proxy\AbstractProxyFactory.
74 74
      */
75 75
     public function __construct(EntityManagerInterface $em, $proxyDir, $proxyNs, $autoGenerate = AbstractProxyFactory::AUTOGENERATE_NEVER)
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/UpdateItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param PathExpression                           $pathExpression
47
-     * @param InputParameter|ArithmeticExpression|null $newValue
47
+     * @param ArithmeticExpression|null $newValue
48 48
      */
49 49
     public function __construct($pathExpression, $newValue)
50 50
     {
Please login to merge, or discard this patch.