diff options
Diffstat (limited to 'tests/functional/TestStorage.php')
-rw-r--r-- | tests/functional/TestStorage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/TestStorage.php b/tests/functional/TestStorage.php index 2403668..ff8512a 100644 --- a/tests/functional/TestStorage.php +++ b/tests/functional/TestStorage.php @@ -15,13 +15,13 @@ class TestStorage implements StorageAccess $this->dir = $dir; } - public function load($tpl, &$mode) + public function load(string $tpl, string &$mode) { $mode = StorageAccess::MODE_SOURCE; return file_get_contents($this->dir . DIRECTORY_SEPARATOR . $tpl); } - public function save($tpl, $data, $mode) + public function save(string $tpl, string $data, $mode): void { if ($mode != StorageAccess::MODE_TRANSCOMPILED) { return; |