Move back typing to phpdoc to keep backward compatibility in OCP

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/36120/head
Côme Chilliet 1 year ago
parent c4d90f3e81
commit 09a97ad39c
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A

@ -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…
Cancel
Save