original_string: private function getGranularity()
      {
          // If the granularity is not specified, attempt to retrieve it from the server
          // Fall back on DATE granularity
          if ($this->granularity === null) {
              $response = $this->identify();
              return (isset($response->Identify->granularity))
                  ? (string) $response->Identify->granularity
                  : Granularity::DATE;
          }
  
          return $this->granularity;
      }
code: private function getGranularity()
      {
          // If the granularity is not specified, attempt to retrieve it from the server
          // Fall back on DATE granularity
          if ($this->granularity === null) {
              $response = $this->identify();
              return (isset($response->Identify->granularity))
                  ? (string) $response->Identify->granularity
                  : Granularity::DATE;
          }
  
          return $this->granularity;
      }
code_tokens: private function getGranularity ( ) { // If the granularity is not specified, attempt to retrieve it from the server // Fall back on DATE granularity if ( $ this -> granularity === null ) { $ response = $ this -> identify ( ) ; return ( isset ( $ response -> Identify -> granularity ) ) ? ( string ) $ response -> Identify -> granularity : Granularity :: DATE ; } return $ this -> granularity ; }
docstring: Lazy load granularity from Identify, if not specified
  
  @return string
docstring_tokens: Lazy load granularity from Identify if not specified