<commit_before><div class="api-show-page">
	<div class="title"><?= $apiObject->getName(); ?></div>
	
	<div class="properties">
		<p class="properties-title">Properties</p>
		<ul>
		<?php
		foreach($apiObject->getProperties() as $property):
		?>
			<li><a href="" title=""><?= $property->getName(); ?></a></li>
		<?php
		endforeach;
		?>
		</ul>
	</div>
	
	<div class="methods">
		<p class="methods-title">Methods</p>
		<ul>
		<?php
		foreach($apiObject->getMethods() as $method):
			$argStr = '(';
			if($method->hasArguments()):
				$args = array();
				foreach($method->getArguments() as $arg):
					$args[] = $arg['type'] . ' ' . $arg['name']; 
				endforeach;
				$argStr .= implode(', ', $args);
			endif;
			$argStr .= ')';
		?>
			<li>
				<a href="" title="">
					<span class="return"><?= $method->getReturnType(); ?>&nbsp;</span>
					<span class="method-name"><?= $method->getName(); ?></span><span class="arguments"><?= $argStr; ?></span>
				</a>
				<p class="desc"><?= $method->getDesc(); ?></p>
			</li>
		<?php
		endforeach;
		?>
		</ul>
	</div>
	

</div><commit_msg>Making use of the new hasMethods() and hasProperties() methods within the api/show view file.<commit_after><div class="api-show-page">
	<div class="title"><?= $apiObject->getName(); ?></div>
	
	<?php if($apiObject->hasProperties()): ?>
	<div class="properties">
		<p class="properties-title">Properties</p>
		<ul>
		<?php
		foreach($apiObject->getProperties() as $property):
		?>
			<li><a href="" title=""><?= $property->getName(); ?></a></li>
		<?php
		endforeach;
		?>
		</ul>
	</div>
	<?php endif; ?>
	
	<?php if($apiObject->hasMethods()): ?>
	<div class="methods">
		<p class="methods-title">Methods</p>
		<ul>
		<?php
		foreach($apiObject->getMethods() as $method):
			$argStr = '(';
			if($method->hasArguments()):
				$args = array();
				foreach($method->getArguments() as $arg):
					$args[] = $arg['type'] . ' ' . $arg['name']; 
				endforeach;
				$argStr .= implode(', ', $args);
			endif;
			$argStr .= ')';
		?>
			<li>
				<a href="" title="">
					<span class="return"><?= $method->getReturnType(); ?>&nbsp;</span>
					<span class="method-name"><?= $method->getName(); ?></span><span class="arguments"><?= $argStr; ?></span>
				</a>
				<p class="desc"><?= $method->getDesc(); ?></p>
			</li>
		<?php
		endforeach;
		?>
		</ul>
	</div>
	<?php endif; ?>
</div>
{'fraction_non_alphanumeric': 0.26841659610499574, 'fraction_numerical': 0.0, 'mean_word_length': 3.6792079207920794, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 111, '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': '2241212', 'n_tokens_mistral': 981, 'n_tokens_neox': 857, 'n_words': 170}