original_string: public function createReferencePoint($inputSize, $keyname = null)
      {
          if ($keyname === null) {
              $keyname = 'Step: '.(count($this->referencePoints) + 1);
          }
  
          if (!array_key_exists($keyname, $this->referencePoints)) {
              $this->referencePoints[$keyname] = new ReferencePoint($keyname, $inputSize);
          } else {
              $this->referencePoints[$keyname]->addBytes($inputSize);
          }
  
          return $this->referencePoints;
      }
code: public function createReferencePoint($inputSize, $keyname = null)
      {
          if ($keyname === null) {
              $keyname = 'Step: '.(count($this->referencePoints) + 1);
          }
  
          if (!array_key_exists($keyname, $this->referencePoints)) {
              $this->referencePoints[$keyname] = new ReferencePoint($keyname, $inputSize);
          } else {
              $this->referencePoints[$keyname]->addBytes($inputSize);
          }
  
          return $this->referencePoints;
      }
code_tokens: public function createReferencePoint ( $ inputSize , $ keyname = null ) { if ( $ keyname === null ) { $ keyname = 'Step: ' . ( count ( $ this -> referencePoints ) + 1 ) ; } if ( ! array_key_exists ( $ keyname , $ this -> referencePoints ) ) { $ this -> referencePoints [ $ keyname ] = new ReferencePoint ( $ keyname , $ inputSize ) ; } else { $ this -> referencePoints [ $ keyname ] -> addBytes ( $ inputSize ) ; } return $ this -> referencePoints ; }
docstring: Add a step and measure the input size.
  
  @param int $inputSize
  @param string $keyname
  
  @return \ArjanSchouten\HtmlMinifier\Statistics\ReferencePoint[]
docstring_tokens: Add a step and measure the input size .