Skip to content

Commit

Permalink
fix: code style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tkegan committed Jul 26, 2024
1 parent 5c47852 commit 1158c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Smalot/PdfParser/RawData/FilterHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ protected function decodeFilterLZWDecode(string $data): string
// convert string to binary string
$bitstring = '';
for ($i = 0; $i < $data_length; ++$i) {
$bitstring .= sprintf('%08b', \ord($data[$i]));
$bitstring .= \sprintf('%08b', \ord($data[$i]));
}
// get the number of bits
$data_length = \strlen($bitstring);
Expand Down

0 comments on commit 1158c4c

Please sign in to comment.