<commit_before><?php

/**
 * A specific documentation folder within a {@link DocumentationEntity}. 
 *
 * Maps to a folder on the file system. 
 *
 * @package docsviewer
 * @subpackage model
 */
class DocumentationFolder extends DocumentationPage {

	/**
	 * @return string
	 */
	public function getTitle() {
		return DocumentationHelper::clean_page_name($this->filename);
	}
}<commit_msg>FIX: DocumentationFolder titles not being set.<commit_after><?php

/**
 * A specific documentation folder within a {@link DocumentationEntity}. 
 *
 * Maps to a folder on the file system. 
 *
 * @package docsviewer
 * @subpackage model
 */
class DocumentationFolder extends DocumentationPage {

	/**
	 * @return string
	 */
	public function getTitle() {
		$path = explode(DIRECTORY_SEPARATOR, trim($this->getPath(), DIRECTORY_SEPARATOR));
		$folderName = array_pop($path);

		return DocumentationHelper::clean_page_name($folderName);
	}

}
{'fraction_non_alphanumeric': 0.11637931034482758, 'fraction_numerical': 0.0, 'mean_word_length': 4.562874251497006, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7230399', 'n_tokens_mistral': 281, 'n_tokens_neox': 261, 'n_words': 75}