public function getStringifiedArray(): array
    {
        $ret = [];
        foreach ($this->headers as $header => $value) {
            if (is_array($value)) {
                $value = implode(", ", $value);
            }
            $ret[] = "$header: $value";
        }
        return $ret;
    }
public function getStringifiedArray(): array
    {
        $ret = [];
        foreach ($this->headers as $header => $value) {
            if (is_array($value)) {
                $value = implode(", ", $value);
            }
            $ret[] = "$header: $value";
        }
        return $ret;
    }
public function getStringifiedArray ( ) : array { $ ret = [ ] ; foreach ( $ this -> headers as $ header => $ value ) { if ( is_array ( $ value ) ) { $ value = implode ( ", " , $ value ) ; } $ ret [ ] = "$header: $value" ; } return $ ret ; }
Retrieve an array of headers as strings

@return array<string>
Retrieve an array of headers as strings