Skip to content

Commit

Permalink
remove unnecessary param
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Nov 23, 2023
1 parent cf31800 commit 39414fd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Box.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

namespace KevinGH\Box;

use Amp\MultiReasonException;
use BadMethodCallException;
use Countable;
use DateTimeImmutable;
Expand Down Expand Up @@ -444,10 +443,8 @@ public function signUsingKey(string $key, ?string $password): void
/**
* @param string[] $files
*
* @throws MultiReasonException
*
* @return array array of tuples where the first element is the local file path (path inside the PHAR) and the
* second element is the processed contents
* @return array{string, string} array of tuples where the first element is the local file path (path inside the PHAR) and the
* second element is the processed contents
*/
private function processContents(array $files): array
{
Expand Down Expand Up @@ -489,7 +486,6 @@ private static function processFilesSynchronously(
return [
$local,
$processedContents,
$compactors->getScoperSymbolsRegistry(),
];
};

Expand Down

0 comments on commit 39414fd

Please sign in to comment.