@@ -1005,7 +1005,7 @@ discard block |
||
1005 | 1005 | /** |
1006 | 1006 | * Gets the ReflectionProperties of the mapped class. |
1007 | 1007 | * |
1008 | - * @return array An array of ReflectionProperty instances. |
|
1008 | + * @return \ReflectionProperty[] An array of ReflectionProperty instances. |
|
1009 | 1009 | */ |
1010 | 1010 | public function getReflectionProperties() |
1011 | 1011 | { |
@@ -1319,6 +1319,7 @@ discard block |
||
1319 | 1319 | * {@inheritDoc} |
1320 | 1320 | * |
1321 | 1321 | * Checks whether the class has a mapped association (embed or reference) with the given field name. |
1322 | + * @param string $fieldName |
|
1322 | 1323 | */ |
1323 | 1324 | public function hasAssociation($fieldName) |
1324 | 1325 | { |
@@ -1553,7 +1554,7 @@ discard block |
||
1553 | 1554 | * |
1554 | 1555 | * @param string $dbFieldName |
1555 | 1556 | * |
1556 | - * @return array |
|
1557 | + * @return string |
|
1557 | 1558 | * @throws MappingException |
1558 | 1559 | */ |
1559 | 1560 | public function getFieldMappingByDbFieldName($dbFieldName) |
@@ -2066,7 +2067,7 @@ discard block |
||
2066 | 2067 | * - reflClass (ReflectionClass) |
2067 | 2068 | * - reflFields (ReflectionProperty array) |
2068 | 2069 | * |
2069 | - * @return array The names of all the fields that should be serialized. |
|
2070 | + * @return string[] The names of all the fields that should be serialized. |
|
2070 | 2071 | */ |
2071 | 2072 | public function __sleep() |
2072 | 2073 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Construct a Builder |
108 | 108 | * |
109 | - * @param string[]|string|null $documentName (optional) an array of document names, the document name, or none |
|
109 | + * @param string|null $documentName (optional) an array of document names, the document name, or none |
|
110 | 110 | */ |
111 | 111 | public function __construct(DocumentManager $dm, $documentName = null) |
112 | 112 | { |
@@ -1091,7 +1091,7 @@ discard block |
||
1091 | 1091 | * @see Expr::mod() |
1092 | 1092 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
1093 | 1093 | * @param float|int $divisor |
1094 | - * @param float|int $remainder |
|
1094 | + * @param integer $remainder |
|
1095 | 1095 | * @return $this |
1096 | 1096 | */ |
1097 | 1097 | public function mod($divisor, $remainder = 0) |
@@ -1255,7 +1255,7 @@ discard block |
||
1255 | 1255 | * If a custom callable is used, its signature should conform to the default |
1256 | 1256 | * Closure defined in {@link ReferencePrimer::__construct()}. |
1257 | 1257 | * |
1258 | - * @param bool|callable $primer |
|
1258 | + * @param boolean $primer |
|
1259 | 1259 | * @return $this |
1260 | 1260 | * @throws \InvalidArgumentException If $primer is not boolean or callable. |
1261 | 1261 | */ |
@@ -1648,7 +1648,7 @@ discard block |
||
1648 | 1648 | * field name (key) and order (value) pairs. |
1649 | 1649 | * |
1650 | 1650 | * @param array|string $fieldName Field name or array of field/order pairs |
1651 | - * @param int|string $order Field order (if one field is specified) |
|
1651 | + * @param integer $order Field order (if one field is specified) |
|
1652 | 1652 | * @return $this |
1653 | 1653 | */ |
1654 | 1654 | public function sort($fieldName, $order = 1) |