original_string: public function addRule(Rule $rule)
      {
          $this->addReason($rule->getId(), array(
              'rule' => $rule,
              'job' => $rule->getJob(),
          ));
      }
code: public function addRule(Rule $rule)
      {
          $this->addReason($rule->getId(), array(
              'rule' => $rule,
              'job' => $rule->getJob(),
          ));
      }
code_tokens: public function addRule ( Rule $ rule ) { $ this -> addReason ( $ rule -> getId ( ) , array ( 'rule' => $ rule , 'job' => $ rule -> getJob ( ) , ) ) ; }
docstring: Add a rule as a reason
  
  @param Rule $rule A rule which is a reason for this problem
docstring_tokens: Add a rule as a reason