From 57271a12c999e88b5d95dac65bf687d1948958a7 Mon Sep 17 00:00:00 2001 From: Jakub Theimer Date: Mon, 16 May 2022 03:28:01 +0200 Subject: [PATCH] comply to contract --- tests/ArrayArchive.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/ArrayArchive.php b/tests/ArrayArchive.php index 4ff9931..532e09e 100644 --- a/tests/ArrayArchive.php +++ b/tests/ArrayArchive.php @@ -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. *