Skip to content

Commit

Permalink
updated return type of FileAccess::filePutContents to int|false
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilbourne committed Sep 10, 2024
1 parent f83f9a7 commit 85f70b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/filesys/FileAccessInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 85f70b3

Please sign in to comment.