It seems like $this->filesystem->read($payload['path']) targeting League\Flysystem\FilesystemInterface::read() can also be of type false; however, HSkrasek\OpenAPI\Parsers\ParserInterface::parse() does only seem to accept string, did you maybe forget to handle an error condition?