original_string: public static function registerThemeClass(string $class): bool
      {
          if (class_exists($class) === false) {
              return false;
          }
          $check = new ReflectionClass($class);
          if ($check->implementsInterface("TheCMSThread\\Classes\\Theme") === true) {
              self::$theme_class = $class;
              return true;
          } else {
              return false;
          }
      }
code: public static function registerThemeClass(string $class): bool
      {
          if (class_exists($class) === false) {
              return false;
          }
          $check = new ReflectionClass($class);
          if ($check->implementsInterface("TheCMSThread\\Classes\\Theme") === true) {
              self::$theme_class = $class;
              return true;
          } else {
              return false;
          }
      }
code_tokens: public static function registerThemeClass ( string $ class ) : bool { if ( class_exists ( $ class ) === false ) { return false ; } $ check = new ReflectionClass ( $ class ) ; if ( $ check -> implementsInterface ( "TheCMSThread\\Classes\\Theme" ) === true ) { self :: $ theme_class = $ class ; return true ; } else { return false ; } }
docstring: Register a theme class
  
  @param   string  $class  The class name being registered
  
  @return  bool
docstring_tokens: Register a theme class