diff --git a/.travis.yml b/.travis.yml index decc07fe..34e1293c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ php: - 7.0 - 7.1 - 7.2 + - 7.3 - hhvm matrix: diff --git a/src/Smalot/PdfParser/PDFObject.php b/src/Smalot/PdfParser/PDFObject.php index 9fd9b84a..176b22fd 100644 --- a/src/Smalot/PdfParser/PDFObject.php +++ b/src/Smalot/PdfParser/PDFObject.php @@ -326,7 +326,7 @@ public function getText(Page $page = null) // Fallback // TODO : Improve $text .= $command[self::COMMAND][0][self::COMMAND]; - continue; + break; } $sub_text = $current_font->decodeText($command[self::COMMAND]); @@ -483,7 +483,7 @@ public function getTextArray(Page $page = null) // Fallback // TODO : Improve $text[] = $command[self::COMMAND][0][self::COMMAND]; - continue; + break; } $sub_text = $current_font->decodeText($command[self::COMMAND]);