original_string: public function getObjectType() {
  		$type = $this->object->getType();
  		$subtype = $this->object->getSubtype() ? : 'default';
  		$keys = [
  			"interactions:$type:$subtype",
  			$this->object instanceof Comment ? "interactions:comment" : "interactions:post",
  		];
  		foreach ($keys as $key) {
  			if (elgg_language_key_exists($key, $this->language)) {
  				return elgg_echo($key, array(), $this->language);
  			}
  		}
  		return elgg_echo('interactions:post', $this->language);
  	}
code: public function getObjectType() {
  		$type = $this->object->getType();
  		$subtype = $this->object->getSubtype() ? : 'default';
  		$keys = [
  			"interactions:$type:$subtype",
  			$this->object instanceof Comment ? "interactions:comment" : "interactions:post",
  		];
  		foreach ($keys as $key) {
  			if (elgg_language_key_exists($key, $this->language)) {
  				return elgg_echo($key, array(), $this->language);
  			}
  		}
  		return elgg_echo('interactions:post', $this->language);
  	}
code_tokens: public function getObjectType ( ) { $ type = $ this -> object -> getType ( ) ; $ subtype = $ this -> object -> getSubtype ( ) ? : 'default' ; $ keys = [ "interactions:$type:$subtype" , $ this -> object instanceof Comment ? "interactions:comment" : "interactions:post" , ] ; foreach ( $ keys as $ key ) { if ( elgg_language_key_exists ( $ key , $ this -> language ) ) { return elgg_echo ( $ key , array ( ) , $ this -> language ) ; } } return elgg_echo ( 'interactions:post' , $ this -> language ) ; }
docstring: Prepares object type string
  @return string
docstring_tokens: Prepares object type string