1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/15342] free_space() now return false if there is any error

PHPBB3-15342
This commit is contained in:
Rubén Calvo
2018-07-01 18:46:48 +02:00
parent 6d2aae5853
commit c039fcba18
3 changed files with 5 additions and 12 deletions

View File

@@ -99,9 +99,7 @@ interface adapter_interface
/*
* Get space available in bytes.
*
* @throws \phpbb\storage\exception\exception When unable to retrieve available storage space
*
* @return int Returns available space
* @return mixed Returns available space or null when unable to retrieve available space
*/
public function free_space();
}