Skip to content

Commit b1202a6

Browse files
committed
removed test code
1 parent ddce0c1 commit b1202a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Smalot/PdfParser/RawData/FilterHelper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,21 +195,18 @@ protected function decodeFilterASCII85Decode(string $data): string
195195
// must be in the [0, 255] interval. The value used will be constrained using % 256
196196
// I know this is ugly and there might be more fancier ways. If you know one, feel free to provide a pull request.
197197
if (255 < $tuple >> 8) {
198-
\chr($tuple >> 8);
199198
$chr8Part = \chr(($tuple >> 8) % 256);
200199
} else {
201200
$chr8Part = \chr($tuple >> 8);
202201
}
203202

204203
if (255 < $tuple >> 16) {
205-
\chr($tuple >> 16);
206204
$chr16Part = \chr(($tuple >> 16) % 256);
207205
} else {
208206
$chr16Part = \chr($tuple >> 16);
209207
}
210208

211209
if (255 < $tuple >> 24) {
212-
\chr($tuple >> 24);
213210
$chr24Part = \chr(($tuple >> 24) % 256);
214211
} else {
215212
$chr24Part = \chr($tuple >> 24);

0 commit comments

Comments
 (0)