Code Duplication    Length = 5-5 lines in 2 locations

src/Intraface/LegacyCpdf.php 2 locations

@@ 1089-1093 (lines=5) @@
1086
                $res="\n".$id." 0 obj\n<< ";
1087
                foreach ($o['info'] as $k => $v) {
1088
                    $res.='/'.$k.' (';
1089
                    if ($this->encrypted) {
1090
                        $res.=$this->filterText($this->ARC4($v), true, false);
1091
                    } else {
1092
                        $res.=$this->filterText($v, true, false);
1093
                    }
1094
                    $res.=") ";
1095
                }
1096
                $res.=">>\nendobj";
@@ 1132-1136 (lines=5) @@
1129
                        break;
1130
                    case 'URI':
1131
                        $res.=" /S /URI /URI (";
1132
                        if ($this->encrypted) {
1133
                            $res.=$this->filterText($this->ARC4($o['info']), true, false);
1134
                        } else {
1135
                            $res.=$this->filterText($o['info'], true, false);
1136
                        }
1137
                            $res.=")";
1138
                        break;
1139
                }