Skip to content

Commit 562c6a9

Browse files
committed
Fix PHP 7.2 issue with signature of __destruct()
1 parent f2da9ec commit 562c6a9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Base/Archive/InfozipUnzipper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct(string $path)
5757
*
5858
* @see \Pickle\Base\Interfaces\Archive\Unzipper::__destruct()
5959
*/
60-
public function __destruct(): void
60+
public function __destruct()
6161
{
6262
}
6363

src/Base/Archive/PHPUnzipper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __construct(string $path)
5656
*
5757
* @see \Pickle\Base\Interfaces\Archive\Unzipper::__destruct()
5858
*/
59-
public function __destruct(): void
59+
public function __destruct()
6060
{
6161
parent::__destruct();
6262
}

src/Base/Interfaces/Archive/Unzipper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct(string $path);
5050
/**
5151
* Close the archive.
5252
*/
53-
public function __destruct(): void;
53+
public function __destruct();
5454

5555
/**
5656
* Extract the archive contents to a specific directory.

0 commit comments

Comments
 (0)