mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Move back typing to phpdoc to keep backward compatibility in OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
c4d90f3e81
commit
09a97ad39c
2 changed files with 8 additions and 2 deletions
|
|
@ -133,9 +133,12 @@ interface Storage extends IStorage {
|
|||
/**
|
||||
* see https://www.php.net/manual/en/function.filesize.php
|
||||
* The result for filesize when called on a folder is required to be 0
|
||||
*
|
||||
* @param string $path
|
||||
* @return false|int|float
|
||||
* @since 6.0.0
|
||||
*/
|
||||
public function filesize(string $path): false|int|float;
|
||||
public function filesize($path);
|
||||
|
||||
/**
|
||||
* check if a file can be created in $path
|
||||
|
|
|
|||
|
|
@ -130,9 +130,12 @@ interface IStorage {
|
|||
/**
|
||||
* see https://www.php.net/manual/en/function.filesize.php
|
||||
* The result for filesize when called on a folder is required to be 0
|
||||
*
|
||||
* @param string $path
|
||||
* @return false|int|float
|
||||
* @since 9.0.0
|
||||
*/
|
||||
public function filesize(string $path): false|int|float;
|
||||
public function filesize($path);
|
||||
|
||||
/**
|
||||
* check if a file can be created in $path
|
||||
|
|
|
|||
Loading…
Reference in a new issue