From eb4a5e81246290ba5a0f23cb771f75a0729ba5a1 Mon Sep 17 00:00:00 2001 From: Nino Date: Wed, 4 Jan 2017 23:42:43 +0100 Subject: [PATCH] Changed run() from private to protected --- src/TikaWrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TikaWrapper.php b/src/TikaWrapper.php index baa277f..7b643dc 100644 --- a/src/TikaWrapper.php +++ b/src/TikaWrapper.php @@ -13,7 +13,7 @@ class TikaWrapper { * @return string * @throws RuntimeException */ - private static function run($option, $fileName){ + protected static function run($option, $fileName){ $file = new SplFileInfo($fileName); $tikaPath = __DIR__ . "/../vendor/"; $shellCommand = 'java -jar tika-app-1.12.jar ' . $option . ' "' . $file->getRealPath() . '"';