Skip to content

Commit

Permalink
fix regression on PHP 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
korelstar committed Feb 12, 2020
1 parent a91eb05 commit a8820d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/NoteUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function deleteEmptyFolder(Folder $notesFolder, Folder $folder) {
* @param File file that needs storage
* @throws InsufficientStorageException
*/
public function ensureSufficientStorage(Folder $folder, $requiredBytes) : void {
public function ensureSufficientStorage(Folder $folder, $requiredBytes) {
$availableBytes = $folder->getFreeSpace();
if ($availableBytes >= 0 && $availableBytes < $requiredBytes) {
$this->logger->error('Insufficient storage in '.$folder->getPath().': available are '.$availableBytes.'; required are '.$requiredBytes, ['app' => $this->appName]);
Expand Down

0 comments on commit a8820d8

Please sign in to comment.