php-pdftk-toolkit icon indicating copy to clipboard operation
php-pdftk-toolkit copied to clipboard

getPdftkVersion returns array instead of string

Open ratoi-crysty opened this issue 11 years ago • 0 comments

It seems to be a problem with "getPdftkVersion" method. The method should return a string but instead it returns an array.

I think the problem appears because "_exec" returns an array (array('stdout' => '', 'stderr' => '', 'return' => '')) and the "getPdftkVersion" returns it directly instead of returning the "stdout" from it.

ratoi-crysty avatar Apr 28 '14 07:04 ratoi-crysty