@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | * |
| 188 | 188 | * @since 0.1.0 |
| 189 | 189 | * |
| 190 | - * @return int The patch version that is used. '' if not defined. |
|
| 190 | + * @return string The patch version that is used. '' if not defined. |
|
| 191 | 191 | */ |
| 192 | 192 | public function get_pre_release() { |
| 193 | 193 | return (string) $this->get_component( 'pre-release' ) ?: ''; |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | * |
| 199 | 199 | * @since 0.1.0 |
| 200 | 200 | * |
| 201 | - * @return int The build metadata for the version that is used. '' if not |
|
| 201 | + * @return string The build metadata for the version that is used. '' if not |
|
| 202 | 202 | * defined. |
| 203 | 203 | */ |
| 204 | 204 | public function get_build() { |