From 85f70b3eeae4f604ebb6b3160060de4c6bb9df90 Mon Sep 17 00:00:00 2001 From: Doug Wilbourne Date: Tue, 10 Sep 2024 16:18:07 -0400 Subject: [PATCH] updated return type of FileAccess::filePutContents to int|false --- src/storage/filesys/FileAccessInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/filesys/FileAccessInterface.php b/src/storage/filesys/FileAccessInterface.php index 8acad05..ad7bce3 100644 --- a/src/storage/filesys/FileAccessInterface.php +++ b/src/storage/filesys/FileAccessInterface.php @@ -30,7 +30,7 @@ public function directoryGetContents(string $dirName, bool $withDots = false, in public function fileGetContents(string $fileName): string|false; - public function filePutContents(string $fileName, string $data): bool; + public function filePutContents(string $fileName, string $data): int|false; public function openFile(string $fileName, string $mode): bool;