public static function toComment(array $data): string
    {
        $result = [];
        foreach ($data as $key => $value) {
            $result[] = $key . ': ' . $value . ';';
        }

        return implode(PHP_EOL, $result);
    }
public static function toComment(array $data): string
    {
        $result = [];
        foreach ($data as $key => $value) {
            $result[] = $key . ': ' . $value . ';';
        }

        return implode(PHP_EOL, $result);
    }
public static function toComment ( array $ data ) : string { $ result = [ ] ; foreach ( $ data as $ key => $ value ) { $ result [ ] = $ key . ': ' . $ value . ';' ; } return implode ( PHP_EOL , $ result ) ; }
Convert assoc array to comment style

@param array $data
@return string
Convert assoc array to comment style