Add support for `never` type
jaapio opened this issue · comments
Jaap van Otterdijk commented
php 8.1 adds the never
keyword for methods that do not return.
function method(): never {
exit(1);
}
New type must be added to the type-resolver. Which should be enough to have support in all phpDocumentor libraries.
Jaap van Otterdijk commented
fixed by #130