<commit_before><?php
/**
 * Used to ingest media that is available on remote server and accessible using the supplied URL, the media file won’t be downloaded but a file sync object of URL type will point to the media URL.
 *
 * @package Core
 * @subpackage model.data
 */
class kRemoteStorageResources extends kUrlResource implements IRemoteStorageResource
{
	/**
	 * Array of remote stoage resources 
	 * @var array<kRemoteStorageResource>
	 */
	private $resources;
	
	/* (non-PHPdoc)
	 * @see IRemoteStorageResource::getResources()
	*/
	public function getResources()
	{
		return $this->resources;
	}

	/**
	 * @param array<kRemoteStorageResource> $resources
	 */
	public function setResources(array $resources)
	{
		$this->resources = $resources;
	}

	/**
	 * @return string
	 */
	public function getFileExt()  
	{
		if (!count($this->getResources()))
			return null;
			
		return reset($this->getResources())->getFileExt();
	}
}<commit_msg>qnd: kRemoteStorageResources.php - fixed a warning - passing a function to a function that gets a reference<commit_after><?php
/**
 * Used to ingest media that is available on remote server and accessible using the supplied URL, the media file won’t be downloaded but a file sync object of URL type will point to the media URL.
 *
 * @package Core
 * @subpackage model.data
 */
class kRemoteStorageResources extends kUrlResource implements IRemoteStorageResource
{
	/**
	 * Array of remote stoage resources 
	 * @var array<kRemoteStorageResource>
	 */
	private $resources;
	
	/* (non-PHPdoc)
	 * @see IRemoteStorageResource::getResources()
	*/
	public function getResources()
	{
		return $this->resources;
	}

	/**
	 * @param array<kRemoteStorageResource> $resources
	 */
	public function setResources(array $resources)
	{
		$this->resources = $resources;
	}

	/**
	 * @return string
	 */
	public function getFileExt()  
	{
		if (!count($this->resources))
			return null;
			
		return reset($this->resources)->getFileExt();
	}
}
{'fraction_non_alphanumeric': 0.11156186612576065, 'fraction_numerical': 0.0, 'mean_word_length': 4.00761421319797, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7583933', 'n_tokens_mistral': 601, 'n_tokens_neox': 555, 'n_words': 182}