original_string: public function addArgument($arg)
      {
          if (!is_scalar($arg)) {
              throw new InvalidArgumentException('scalar', 0);
          }
          if (!in_array($arg, $this->arguments)) {
              $this->arguments[] = $arg;
          }
  
          return $this;
      }
code: public function addArgument($arg)
      {
          if (!is_scalar($arg)) {
              throw new InvalidArgumentException('scalar', 0);
          }
          if (!in_array($arg, $this->arguments)) {
              $this->arguments[] = $arg;
          }
  
          return $this;
      }
code_tokens: public function addArgument ( $ arg ) { if ( ! is_scalar ( $ arg ) ) { throw new InvalidArgumentException ( 'scalar' , 0 ) ; } if ( ! in_array ( $ arg , $ this -> arguments ) ) { $ this -> arguments [ ] = $ arg ; } return $ this ; }
docstring: Add an argument to the Block arguments array
  
  @param mixed $arg [required] A scalar
  @return $this
  @throws InvalidArgumentException
docstring_tokens: Add an argument to the Block arguments array