src/PoEntry.php
public function add(string $type, string $value): void
    {
        if ($this->entry[$type] === null) {
            $this->entry[$type] = array();
        }
        $this->entry[$type] = (array) $this->entry[$type];
        $this->entry[$type][] = $value;
    }
public function add(string $type, string $value): void
    {
        if ($this->entry[$type] === null) {
            $this->entry[$type] = array();
        }
        $this->entry[$type] = (array) $this->entry[$type];
        $this->entry[$type][] = $value;
    }
public function add ( string $ type , string $ value ) : void { if ( $ this -> entry [ $ type ] === null ) { $ this -> entry [ $ type ] = array ( ) ; } $ this -> entry [ $ type ] = ( array ) $ this -> entry [ $ type ] ; $ this -> entry [ $ type ] [ ] = $ value ; }
add a value to an array 'type' in the entry

@param string $type  PoToken constant
@param string $value value to store
@return void
add a value to an array type in the entry