@@ -282,7 +282,7 @@ |
||
| 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 |
@@ -211,6 +211,7 @@ |
||
| 211 | 211 | |
| 212 | 212 | /** |
| 213 | 213 | * {@inheritdoc} |
| 214 | + * @return boolean |
|
| 214 | 215 | */ |
| 215 | 216 | public function evictAll() |
| 216 | 217 | { |
@@ -918,7 +918,7 @@ |
||
| 918 | 918 | * @since 2.5 |
| 919 | 919 | * |
| 920 | 920 | * @param string $name The name of the hint. |
| 921 | - * @param mixed $value The value of the hint. |
|
| 921 | + * @param string $value The value of the hint. |
|
| 922 | 922 | */ |
| 923 | 923 | public function setDefaultQueryHint($name, $value) |
| 924 | 924 | { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | /** |
| 144 | 144 | * Adds Index. |
| 145 | 145 | * |
| 146 | - * @param array $columns |
|
| 146 | + * @param string[] $columns |
|
| 147 | 147 | * @param string $name |
| 148 | 148 | * |
| 149 | 149 | * @return ClassMetadataBuilder |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | /** |
| 163 | 163 | * Adds Unique Constraint. |
| 164 | 164 | * |
| 165 | - * @param array $columns |
|
| 165 | + * @param string[] $columns |
|
| 166 | 166 | * @param string $name |
| 167 | 167 | * |
| 168 | 168 | * @return ClassMetadataBuilder |
@@ -180,7 +180,7 @@ |
||
| 180 | 180 | * Sets an option. |
| 181 | 181 | * |
| 182 | 182 | * @param string $name |
| 183 | - * @param mixed $value |
|
| 183 | + * @param boolean $value |
|
| 184 | 184 | * |
| 185 | 185 | * @return FieldBuilder |
| 186 | 186 | */ |
@@ -667,7 +667,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -1838,7 +1838,7 @@ discard block |
||
| 1838 | 1838 | * Sets the mapped identifier/primary key fields of this class. |
| 1839 | 1839 | * Mainly used by the ClassMetadataFactory to assign inherited identifiers. |
| 1840 | 1840 | * |
| 1841 | - * @param array $identifier |
|
| 1841 | + * @param string[] $identifier |
|
| 1842 | 1842 | * |
| 1843 | 1843 | * @return void |
| 1844 | 1844 | */ |
@@ -1867,7 +1867,7 @@ discard block |
||
| 1867 | 1867 | /** |
| 1868 | 1868 | * Gets an array containing all the column names. |
| 1869 | 1869 | * |
| 1870 | - * @param array|null $fieldNames |
|
| 1870 | + * @param string[] $fieldNames |
|
| 1871 | 1871 | * |
| 1872 | 1872 | * @return array |
| 1873 | 1873 | */ |
@@ -2085,7 +2085,7 @@ discard block |
||
| 2085 | 2085 | /** |
| 2086 | 2086 | * Sets the mapped subclasses of this class. |
| 2087 | 2087 | * |
| 2088 | - * @param array $subclasses The names of all mapped subclasses. |
|
| 2088 | + * @param string[] $subclasses The names of all mapped subclasses. |
|
| 2089 | 2089 | * |
| 2090 | 2090 | * @return void |
| 2091 | 2091 | */ |
@@ -2101,7 +2101,7 @@ discard block |
||
| 2101 | 2101 | * Assumes that the class names in the passed array are in the order: |
| 2102 | 2102 | * directParent -> directParentParent -> directParentParentParent ... -> root. |
| 2103 | 2103 | * |
| 2104 | - * @param array $classNames |
|
| 2104 | + * @param string[] $classNames |
|
| 2105 | 2105 | * |
| 2106 | 2106 | * @return void |
| 2107 | 2107 | */ |
@@ -2638,7 +2638,7 @@ discard block |
||
| 2638 | 2638 | * @deprecated Deprecated since version 2.4 in favor of \Doctrine\ORM\Event\ListenersInvoker |
| 2639 | 2639 | * |
| 2640 | 2640 | * @param string $lifecycleEvent The lifecycle event. |
| 2641 | - * @param object $entity The Entity on which the event occurred. |
|
| 2641 | + * @param \Shitty\Tests\ORM\Functional\Ticket\DDC1707Child $entity The Entity on which the event occurred. |
|
| 2642 | 2642 | * |
| 2643 | 2643 | * @return void |
| 2644 | 2644 | */ |
@@ -49,6 +49,7 @@ |
||
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * {@inheritDoc} |
| 52 | + * @param string $className |
|
| 52 | 53 | */ |
| 53 | 54 | public function loadMetadataForClass($className, ClassMetadata $metadata) |
| 54 | 55 | { |
@@ -50,6 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * {@inheritDoc} |
| 53 | + * @param string $className |
|
| 53 | 54 | */ |
| 54 | 55 | public function loadMetadataForClass($className, ClassMetadata $metadata) |
| 55 | 56 | { |
@@ -70,8 +70,6 @@ |
||
| 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 | */ |