@@ -104,7 +104,7 @@ |
||
104 | 104 | * Nota: Cualquier objeto que no sea instancia de IntString se |
105 | 105 | * considerará menor. |
106 | 106 | * |
107 | - * @param IntString|mixed $other Objeto con el que se va a comparar. |
|
107 | + * @param VersionComponent $other Objeto con el que se va a comparar. |
|
108 | 108 | * |
109 | 109 | * @return integer Cero (0), si esta instancia es igual a $other; mayor |
110 | 110 | * a cero (>0), si es mayor a $other; menor a cero (<0), si es menor. |
@@ -38,8 +38,8 @@ |
||
38 | 38 | * |
39 | 39 | * @param int $major Componente principal |
40 | 40 | * @param int $minor Componente secundario |
41 | - * @param int|string|VersionComponent|null $build Componente de compilación |
|
42 | - * @param int|string|VersionComponent|null $revision Componente de revisión |
|
41 | + * @param VersionComponent|null $build Componente de compilación |
|
42 | + * @param VersionComponent|null $revision Componente de revisión |
|
43 | 43 | * |
44 | 44 | * @throws InvalidArgumentException |
45 | 45 | * */ |
@@ -166,7 +166,7 @@ |
||
166 | 166 | /** |
167 | 167 | * Getter method for VersionComponent::IntValue property. |
168 | 168 | * |
169 | - * @return integer|NULL |
|
169 | + * @return integer |
|
170 | 170 | * */ |
171 | 171 | public function getIntValue() |
172 | 172 | { |
@@ -177,6 +177,9 @@ discard block |
||
177 | 177 | return $this->methods; |
178 | 178 | } |
179 | 179 | |
180 | + /** |
|
181 | + * @param string $name |
|
182 | + */ |
|
180 | 183 | public function hasMethod($name) |
181 | 184 | { |
182 | 185 | if ($this->reflectionObject !== null) { |
@@ -189,7 +192,6 @@ discard block |
||
189 | 192 | /** |
190 | 193 | * Determines if instances of this Type can be converted to string. |
191 | 194 | * |
192 | - * @param mixed $obj Object. |
|
193 | 195 | * |
194 | 196 | * @return bool |
195 | 197 | */ |