original_string: public static function version(string $expression = self::VERSION_WITHOUT_BUG_FIX): string
      {
          if (static::is(static::LARAVEL)) {
              return static::extractVersion(constant('Illuminate\Foundation\Application::VERSION'), $expression);
          }
  
          /** @var \Laravel\Lumen\Application $app */
          $app = call_user_func('Laravel\Lumen\Application::getInstance');
  
          if ($version = static::extractVersion($app->version(), $expression)) {
              return $version;
          }
  
          throw new LogicException('No any version found.');
      }
code: public static function version(string $expression = self::VERSION_WITHOUT_BUG_FIX): string
      {
          if (static::is(static::LARAVEL)) {
              return static::extractVersion(constant('Illuminate\Foundation\Application::VERSION'), $expression);
          }
  
          /** @var \Laravel\Lumen\Application $app */
          $app = call_user_func('Laravel\Lumen\Application::getInstance');
  
          if ($version = static::extractVersion($app->version(), $expression)) {
              return $version;
          }
  
          throw new LogicException('No any version found.');
      }
code_tokens: public static function version ( string $ expression = self :: VERSION_WITHOUT_BUG_FIX ) : string { if ( static :: is ( static :: LARAVEL ) ) { return static :: extractVersion ( constant ( 'Illuminate\Foundation\Application::VERSION' ) , $ expression ) ; } /** @var \Laravel\Lumen\Application $app */ $ app = call_user_func ( 'Laravel\Lumen\Application::getInstance' ) ; if ( $ version = static :: extractVersion ( $ app -> version ( ) , $ expression ) ) { return $ version ; } throw new LogicException ( 'No any version found.' ) ; }
docstring: Returns application version
  
  @param string $expression
  
  @return string
docstring_tokens: Returns application version