Skip to content

Commit

Permalink
Revert an oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
jonerickson committed Oct 1, 2024
1 parent 8f01a89 commit 2eb117c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/Adapters/TemporaryDirectoryAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,7 @@
use Spatie\Backup\Contracts\TemporaryDirectory;
use Spatie\TemporaryDirectory\TemporaryDirectory as BaseTemporaryDirectory;

class TemporaryDirectoryAdapter implements TemporaryDirectory
class TemporaryDirectoryAdapter extends BaseTemporaryDirectory implements TemporaryDirectory
{
protected BaseTemporaryDirectory $temporaryDirectory;

public function __construct(string $location = '')
{
$this->temporaryDirectory = new BaseTemporaryDirectory($location);
}

public function __call(string $name, array $arguments): mixed
{
return $this->temporaryDirectory->{$name}(...$arguments);
}
}

0 comments on commit 2eb117c

Please sign in to comment.