<commit_before><?php
namespace Routelandia\Entities;

use Respect\Relational\Mapper;

/** Represents a single Detector
 *
 * Stations are collections of detectors
 */
class Detector{

    /**
     * Detectors have a "start_date" and "end_Date value". This function will
     * determine if the detector is still active be looking if the end_date is null or not
     *
     * @return True or false
     */
    public function stillActive(){
        if($this->end_date == null)
            return true;
        else
            return false;
    }
}<commit_msg>Coding standards<commit_after><?php
namespace Routelandia\Entities;

use Respect\Relational\Mapper;

/** Represents a single Detector
 *
 * Stations are collections of detectors
 */
class Detector{

  /**
   * Detectors have a "start_date" and "end_Date value". This function will
   * determine if the detector is still active be looking if the end_date is null or not
   *
   * @return True or false
   */
  public function stillActive(){
      if($this->end_date == null)
          return true;
      else
          return false;
  }

}

{'fraction_non_alphanumeric': 0.08553230209281165, 'fraction_numerical': 0.0, 'mean_word_length': 2.6666666666666665, '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': '3909615', 'n_tokens_mistral': 313, 'n_tokens_neox': 309, 'n_words': 113}