File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
src/Smalot/PdfParser/RawData Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments