Skip to content

Commit

Permalink
comply to contract
Browse files Browse the repository at this point in the history
  • Loading branch information
repl6669 committed May 16, 2022
1 parent a172ea7 commit 57271a1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/ArrayArchive.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,26 @@ public function __construct($filePath, $new = false, $archiveImplementation = nu
{
}

/**
* Check if the archive is open.
*
* @return bool
*/
public function isOpen(): bool
{
return true;
}

/**
* Check if the archive is closed.
*
* @return bool
*/
public function isClosed(): bool
{
return false;
}

/**
* Add a file to the opened Archive.
*
Expand Down

0 comments on commit 57271a1

Please sign in to comment.