phpdoc: function return type

Tommy <[email protected]>
Newsgroups comp.lang.php
Organization Aioe.org NNTP Server
Message-ID <[email protected]>
/**
  * @return int|exit
  */
function err($message, $exitCode) {
     $int = fwrite(STDERR, $message);

     if (null !== $exitCode) {
         exit($exitCode);
     }

     return $int;
}

In your opinion, int|exit is good as a type for @return tag?
Or it would be better int|null?
Or it would be better simply int?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.