original_string: protected function shouldBeNumeric($attribute, $rule)
      {
          if (is_numeric($this->getValue($attribute))) {
              $this->numericRules[] = $rule;
          }
      }
code: protected function shouldBeNumeric($attribute, $rule)
      {
          if (is_numeric($this->getValue($attribute))) {
              $this->numericRules[] = $rule;
          }
      }
code_tokens: protected function shouldBeNumeric ( $ attribute , $ rule ) { if ( is_numeric ( $ this -> getValue ( $ attribute ) ) ) { $ this -> numericRules [ ] = $ rule ; } }
docstring: Adds the existing rule to the numericRules array if the attribute's value is numeric.
  
  @param  string  $attribute
  @param  string  $rule
  
  @return void
docstring_tokens: Adds the existing rule to the numericRules array if the attribute s value is numeric .