<commit_before><?php

namespace BNETDocs\Libraries;

use BNETDocs\Libraries\Common;

class Cache {

  const DEFAULT_TTL = 60;

  protected $memcache;

  public function __construct() {
    $this->memcache = new \Memcached();
    foreach (Common::$config->Memcache->servers as $server) {
      $this->memcache->addServer($server->hostname, $server->port);<commit_msg>Fix E_NOTICE error in Cache class.<commit_after><?php

namespace BNETDocs\Libraries;

use BNETDocs\Libraries\Common;

class Cache {

  const DEFAULT_TTL = 60;

  protected $memcache;

  public function __construct() {
    $this->memcache = new \Memcached();
    foreach (Common::$config->memcache as $server) {
      $this->memcache->addServer($server->hostname, $server->port);
{'fraction_non_alphanumeric': 0.13844086021505375, 'fraction_numerical': 0.005376344086021506, 'mean_word_length': 4.477941176470588, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, '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': '1261622', 'n_tokens_mistral': 243, 'n_tokens_neox': 239, 'n_words': 52}