Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Smalot/PdfParser/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ protected function parseHeaderElement(?string $type, $value, ?Document $document

case 'endstream':
case 'obj': // I don't know what it means but got my project fixed.
case 'endobj': // I don't know what this means either, but it is found in some PDF documents I tried to parse.
case '':
// Nothing to do with.
return null;
Expand Down