original_string: public static function loggedId()
      {
          if (Podium::getInstance()->user->isGuest) {
              return null;
          }
          if (Podium::getInstance()->userComponent !== true) {
              $user = static::findMe();
              if (empty($user)) {
                  return null;
              }
              return $user->id;
          }
          return Podium::getInstance()->user->id;
      }
code: public static function loggedId()
      {
          if (Podium::getInstance()->user->isGuest) {
              return null;
          }
          if (Podium::getInstance()->userComponent !== true) {
              $user = static::findMe();
              if (empty($user)) {
                  return null;
              }
              return $user->id;
          }
          return Podium::getInstance()->user->id;
      }
code_tokens: public static function loggedId ( ) { if ( Podium :: getInstance ( ) -> user -> isGuest ) { return null ; } if ( Podium :: getInstance ( ) -> userComponent !== true ) { $ user = static :: findMe ( ) ; if ( empty ( $ user ) ) { return null ; } return $ user -> id ; } return Podium :: getInstance ( ) -> user -> id ; }
docstring: Returns ID of current logged user.
  @return int
docstring_tokens: Returns ID of current logged user .