@@ -18,12 +18,12 @@ |
||
| 18 | 18 | class SentrySeverity |
| 19 | 19 | { |
| 20 | 20 | /** |
| 21 | - * Maps PHP's internal error-types into those suited to {@link Severity}. |
|
| 22 | - * |
|
| 23 | - * @param mixed int|string $severity The incoming level from userland code or |
|
| 24 | - * PHP itself. |
|
| 25 | - * @return string |
|
| 26 | - */ |
|
| 21 | + * Maps PHP's internal error-types into those suited to {@link Severity}. |
|
| 22 | + * |
|
| 23 | + * @param mixed int|string $severity The incoming level from userland code or |
|
| 24 | + * PHP itself. |
|
| 25 | + * @return string |
|
| 26 | + */ |
|
| 27 | 27 | public static function process_severity($severity) : string |
| 28 | 28 | { |
| 29 | 29 | // Stringified PHP severities out of \backtrace() like "notice" |
@@ -370,8 +370,8 @@ |
||
| 370 | 370 | |
| 371 | 371 | /** |
| 372 | 372 | * Check if we are on a tagged release and if so, use that to set the client release |
| 373 | - * @param $ref |
|
| 374 | - * @return mixed |
|
| 373 | + * @param string $ref |
|
| 374 | + * @return string |
|
| 375 | 375 | */ |
| 376 | 376 | protected static function getGitTag($ref) |
| 377 | 377 | { |