original_string: public static function totalThreads()
      {
          $threads = Podium::getInstance()->podiumCache->get('forum.threadscount');
          if ($threads === false) {
              $threads = Thread::find()->count();
              Podium::getInstance()->podiumCache->set('forum.threadscount', $threads);
          }
          return $threads;
      }
code: public static function totalThreads()
      {
          $threads = Podium::getInstance()->podiumCache->get('forum.threadscount');
          if ($threads === false) {
              $threads = Thread::find()->count();
              Podium::getInstance()->podiumCache->set('forum.threadscount', $threads);
          }
          return $threads;
      }
code_tokens: public static function totalThreads ( ) { $ threads = Podium :: getInstance ( ) -> podiumCache -> get ( 'forum.threadscount' ) ; if ( $ threads === false ) { $ threads = Thread :: find ( ) -> count ( ) ; Podium :: getInstance ( ) -> podiumCache -> set ( 'forum.threadscount' , $ threads ) ; } return $ threads ; }
docstring: Counts number of created threads.
  @return int
docstring_tokens: Counts number of created threads .