original_string: public function version()
      {
          $latest = app()->make(Releases::class)->latest();
  
          return $this->setMetaData([
              'on_latest' => version_compare(CACHET_VERSION, $latest['tag_name']) === 1,
              'latest'    => $latest,
          ])->item(CACHET_VERSION);
      }
code: public function version()
      {
          $latest = app()->make(Releases::class)->latest();
  
          return $this->setMetaData([
              'on_latest' => version_compare(CACHET_VERSION, $latest['tag_name']) === 1,
              'latest'    => $latest,
          ])->item(CACHET_VERSION);
      }
code_tokens: public function version ( ) { $ latest = app ( ) -> make ( Releases :: class ) -> latest ( ) ; return $ this -> setMetaData ( [ 'on_latest' => version_compare ( CACHET_VERSION , $ latest [ 'tag_name' ] ) === 1 , 'latest' => $ latest , ] ) -> item ( CACHET_VERSION ) ; }
docstring: Endpoint to show the Cachet version.
  
  @return \Illuminate\Http\JsonResponse
docstring_tokens: Endpoint to show the Cachet version .