index ?? null; if (isset($index)) { return "/$index"; } throw new RuntimeException('Missing parameter for the endpoint indices.delete'); } public function getParamWhitelist(): array { return [ 'timeout', 'master_timeout', 'ignore_unavailable', 'allow_no_indices', 'expand_wildcards', 'cluster_manager_timeout' ]; } public function getMethod(): string { return 'DELETE'; } protected function getParamDeprecation(): array { return ['master_timeout' => 'cluster_manager_timeout']; } }