diff options
author | Mario <mario@mariovavti.com> | 2019-11-10 14:18:18 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-11-10 14:18:18 +0100 |
commit | e1b923ab7d9070631b9bcf24fe1c42678f827169 (patch) | |
tree | 402fc0be56a0000701d969697ba1f271a66b8413 /vendor/sabre/dav/lib/DAV/ICollection.php | |
parent | bed9876d68ac72a27f3c05fa3ed5c4ccad39b72e (diff) | |
parent | 580c3f4ffe9608d2beb56d418c68b3b112420e76 (diff) | |
download | volse-hubzilla-e1b923ab7d9070631b9bcf24fe1c42678f827169.tar.gz volse-hubzilla-e1b923ab7d9070631b9bcf24fe1c42678f827169.tar.bz2 volse-hubzilla-e1b923ab7d9070631b9bcf24fe1c42678f827169.zip |
Merge branch 'cherry-pick-6685381f' into 'dev'
another bulk of composer updates
See merge request hubzilla/core!1781
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/ICollection.php')
-rw-r--r-- | vendor/sabre/dav/lib/DAV/ICollection.php | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/vendor/sabre/dav/lib/DAV/ICollection.php b/vendor/sabre/dav/lib/DAV/ICollection.php index 7793070d3..c039dae56 100644 --- a/vendor/sabre/dav/lib/DAV/ICollection.php +++ b/vendor/sabre/dav/lib/DAV/ICollection.php @@ -1,9 +1,11 @@ <?php +declare(strict_types=1); + namespace Sabre\DAV; /** - * The ICollection Interface + * The ICollection Interface. * * This interface should be implemented by each class that represents a collection * @@ -11,10 +13,10 @@ namespace Sabre\DAV; * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ -interface ICollection extends INode { - +interface ICollection extends INode +{ /** - * Creates a new file in the directory + * Creates a new file in the directory. * * Data will either be supplied as a stream resource, or in certain cases * as a string. Keep in mind that you may have to support either. @@ -33,44 +35,45 @@ interface ICollection extends INode { * return the same contents of what was submitted here, you are strongly * recommended to omit the ETag. * - * @param string $name Name of the file + * @param string $name Name of the file * @param resource|string $data Initial payload - * @return null|string + * + * @return string|null */ - function createFile($name, $data = null); + public function createFile($name, $data = null); /** - * Creates a new subdirectory + * Creates a new subdirectory. * * @param string $name - * @return void */ - function createDirectory($name); + public function createDirectory($name); /** - * Returns a specific child node, referenced by its name + * Returns a specific child node, referenced by its name. * * This method must throw Sabre\DAV\Exception\NotFound if the node does not * exist. * * @param string $name + * * @return INode */ - function getChild($name); + public function getChild($name); /** - * Returns an array with all the child nodes + * Returns an array with all the child nodes. * * @return INode[] */ - function getChildren(); + public function getChildren(); /** - * Checks if a child-node with the specified name exists + * Checks if a child-node with the specified name exists. * * @param string $name + * * @return bool */ - function childExists($name); - + public function childExists($name); } |