Fixing signature of function readdir
Fixing signature of function readdir

Adding false return value as of http://php.net/manual/de/function.readdir.php, which is returned on failure (when no next entry exists)
phpstan/phpstan,phpstan/phpstan,phpstan/phpstan,phpstan/phpstan