original_string: private function getIndexStatus()
      {
          if (version_compare($this->version, '2.2', '>')) {
              return $this->client->indices()->stats(['index' => '_all']);
          }
  
          return $this->client->indices()->status(['index' => '_all']);
      }
code: private function getIndexStatus()
      {
          if (version_compare($this->version, '2.2', '>')) {
              return $this->client->indices()->stats(['index' => '_all']);
          }
  
          return $this->client->indices()->status(['index' => '_all']);
      }
code_tokens: private function getIndexStatus ( ) { if ( version_compare ( $ this -> version , '2.2' , '>' ) ) { return $ this -> client -> indices ( ) -> stats ( [ 'index' => '_all' ] ) ; } return $ this -> client -> indices ( ) -> status ( [ 'index' => '_all' ] ) ; }
docstring: Returns index-status.
  
  @return array
docstring_tokens: Returns index - status .