In method `Vaites\ApacheTika\Clients\WebClient::getHeader()` the return type is ARRAY if the requested header (name) is not set, see... https://github.com/vaites/php-apache-tika/blob/c3430ac152cc68062fa8f7af06daff84aa2bf064/src/Clients/WebClient.php#L304-L318 Return value must be of type `?string`.