Skip to content

Commit 72c09db

Browse files
committed
Merge branch 'master' of github.com:vaites/php-apache-tika
2 parents 973a6e4 + 8dff0cf commit 72c09db

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Clients/CLIClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class CLIClient extends Client
5050
*
5151
* @throws \Exception
5252
*/
53-
public function __construct(?string $path = null, string $java = null, bool $check = true)
53+
public function __construct(?string $path = null, ?string $java = null, bool $check = true)
5454
{
5555
parent::__construct();
5656

tests/BaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ abstract class BaseTest extends TestCase
4545
*
4646
* @throws \Exception
4747
*/
48-
public function __construct(string $name = null, array $data = array(), $dataName = '')
48+
public function __construct(?string $name = null, array $data = array(), $dataName = '')
4949
{
5050
self::$version = getenv('APACHE_TIKA_VERSION');
5151
self::$binaries = getenv('APACHE_TIKA_BINARIES');

tests/CommonTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CommonTest extends TestCase
3333
/**
3434
* Get env variables
3535
*/
36-
public function __construct(string $name = null, array $data = array(), $dataName = '')
36+
public function __construct(?string $name = null, array $data = array(), $dataName = '')
3737
{
3838
self::$version = getenv('APACHE_TIKA_VERSION');
3939
self::$binaries = getenv('APACHE_TIKA_BINARIES');

tests/ErrorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ErrorTest extends TestCase
2929
/**
3030
* Get env variables
3131
*/
32-
public function __construct(string $name = null, array $data = array(), $dataName = '')
32+
public function __construct(?string $name = null, array $data = array(), $dataName = '')
3333
{
3434
self::$version = getenv('APACHE_TIKA_VERSION');
3535
self::$binaries = getenv('APACHE_TIKA_BINARIES');

0 commit comments

Comments
 (0)