| @@ -11,9 +11,12 @@ | ||
| 11 | 11 | * Static class. |
| 12 | 12 | */ |
| 13 | 13 | trait StaticClass |
| 14 | 14 | { |
| 15 | - /** @throws \Error */ | |
| 15 | + /** | |
| 16 | + * @return never | |
| 17 | + * @throws \Error | |
| 18 | + */ | |
| 16 | 19 | public final function __construct() |
| 17 | 20 | { |
| 18 | 21 | throw new \Error('Class ' . static::class . ' is static and cannot be instantiated.'); |
| 19 | 22 | } |