realDebridApiKey || "" === $this->realDebridApiKey) { $this->messages[] = "Your Real Debrid API key is missing. Please set it to the 'REAL_DEBRID_KEY' environment variable."; $valid = false; } if (null === $this->tmdbApiKey || "" === $this->tmdbApiKey) { $this->messages[] = "Your TMDB API key is missing. Please set it to the 'TMDB_API' environment variable."; $valid = false; } return $valid; } public function getMessages(): array { return $this->messages; } }