<commit_before><?php
/**
 * @package module.twitterconnect
 */
class twitterconnect_ListAuthorizedaccountsbywebsiteService extends BaseService
{
	/**
	 * @var twitterconnect_ListAccountsbywebsiteService
	 */
	private static $instance;
	private $items = null;

	/**
	 * @return twitterconnect_ListAccountsbywebsiteService
	 */
	public static function getInstance()
	{
		if (is_null(self::$instance))
		{
			self::$instance = self::getServiceClassInstance(get_class());
		}
		return self::$instance;
	}

	/**
	 * @return array<list_Item>
	 */
	public final function getItems()
	{
		try 
		{
			$request = Controller::getInstance()->getContext()->getRequest();
			$websiteId = intval($request->getParameter('websiteId', 0));
			$website = DocumentHelper::getDocumentInstance($websiteId);
		}
		catch (Exception $e)
		{<commit_msg>[REFACTOR] Remove "final" keyword on getItems and getDefaultId methods in dynamic list services.<commit_after><?php
/**
 * @package module.twitterconnect
 */
class twitterconnect_ListAuthorizedaccountsbywebsiteService extends BaseService
{
	/**
	 * @var twitterconnect_ListAccountsbywebsiteService
	 */
	private static $instance;
	private $items = null;

	/**
	 * @return twitterconnect_ListAccountsbywebsiteService
	 */
	public static function getInstance()
	{
		if (is_null(self::$instance))
		{
			self::$instance = self::getServiceClassInstance(get_class());
		}
		return self::$instance;
	}

	/**
	 * @return array<list_Item>
	 */
	public function getItems()
	{
		try 
		{
			$request = Controller::getInstance()->getContext()->getRequest();
			$websiteId = intval($request->getParameter('websiteId', 0));
			$website = DocumentHelper::getDocumentInstance($websiteId);
		}
		catch (Exception $e)
		{
{'fraction_non_alphanumeric': 0.13575967648757944, 'fraction_numerical': 0.0011554015020219526, 'mean_word_length': 4.993079584775087, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '4822247', 'n_tokens_mistral': 575, 'n_tokens_neox': 509, 'n_words': 99}