original_string: public function setOverflowMagnitude($magnitude)
      {
          if ($magnitude < 0) {
              throw new \LogicException('Overflow magnitude cannot be negative.');
          }
  
          if (!is_numeric($magnitude)) {
              throw new \InvalidArgumentException('Overflow magnitude should be a number.');
          }
  
          $this->overflowMagnitude = $magnitude;
      }
code: public function setOverflowMagnitude($magnitude)
      {
          if ($magnitude < 0) {
              throw new \LogicException('Overflow magnitude cannot be negative.');
          }
  
          if (!is_numeric($magnitude)) {
              throw new \InvalidArgumentException('Overflow magnitude should be a number.');
          }
  
          $this->overflowMagnitude = $magnitude;
      }
code_tokens: public function setOverflowMagnitude ( $ magnitude ) { if ( $ magnitude < 0 ) { throw new \ LogicException ( 'Overflow magnitude cannot be negative.' ) ; } if ( ! is_numeric ( $ magnitude ) ) { throw new \ InvalidArgumentException ( 'Overflow magnitude should be a number.' ) ; } $ this -> overflowMagnitude = $ magnitude ; }
docstring: Sets how big overflow is.
  
  @param number $magnitude Positive number.
  
  @throws \InvalidArgumentException Non-numeric magnitude specified.
  @throws \LogicException Negative magnitude specified.
docstring_tokens: Sets how big overflow is .