Skip to content

Commit

Permalink
Make methods that are not required to be public private
Browse files Browse the repository at this point in the history
  • Loading branch information
perk11 committed Jul 20, 2016
1 parent a382f95 commit b32b06d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Pdf2text.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function decodePDF()
*
* @return string
*/
public function decodeAsciiHex($input)
private function decodeAsciiHex($input)
{
$output = "";
$isOdd = true;
Expand Down Expand Up @@ -257,7 +257,7 @@ public function decodeAsciiHex($input)
*
* @return string
*/
public function decodeAscii85($input)
private function decodeAscii85($input)
{
$output = "";

Expand Down Expand Up @@ -341,7 +341,7 @@ public function decodeAscii85($input)
*
* @return string
*/
public function decodeFlate($data)
private function decodeFlate($data)
{
return @gzuncompress($data);
}
Expand All @@ -353,7 +353,7 @@ public function decodeFlate($data)
*
* @return array
*/
public function getObjectOptions($object)
private function getObjectOptions($object)
{
$options = array();

Expand Down Expand Up @@ -396,7 +396,7 @@ public function getObjectOptions($object)
*
* @return string
*/
public function getDecodedStream($stream, $options)
private function getDecodedStream($stream, $options)
{
$data = "";

Expand Down Expand Up @@ -441,7 +441,7 @@ public function getDecodedStream($stream, $options)
*
* @return void
*/
public function getDirtyTexts(&$texts, $textContainers)
private function getDirtyTexts(&$texts, $textContainers)
{
for ($j = 0; $j < count($textContainers); $j++)
{
Expand All @@ -468,7 +468,7 @@ public function getDirtyTexts(&$texts, $textContainers)
*
* @return void
*/
public function getCharTransformations(&$transformations, $stream)
private function getCharTransformations(&$transformations, $stream)
{
preg_match_all("#([0-9]+)\s+beginbfchar(.*)endbfchar#ismU", $stream, $chars, PREG_SET_ORDER);
preg_match_all("#([0-9]+)\s+beginbfrange(.*)endbfrange#ismU", $stream, $ranges, PREG_SET_ORDER);
Expand Down Expand Up @@ -527,7 +527,7 @@ public function getCharTransformations(&$transformations, $stream)
*
* @return string
*/
public function getTextUsingTransformations($texts, $transformations)
private function getTextUsingTransformations($texts, $transformations)
{
$document = "";

Expand Down

0 comments on commit b32b06d

Please sign in to comment.