@@ -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" |