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/PropertyStorage/Backend/BackendInterface.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/PropertyStorage/Backend/BackendInterface.php')
-rw-r--r-- | vendor/sabre/dav/lib/DAV/PropertyStorage/Backend/BackendInterface.php | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/vendor/sabre/dav/lib/DAV/PropertyStorage/Backend/BackendInterface.php b/vendor/sabre/dav/lib/DAV/PropertyStorage/Backend/BackendInterface.php index b15d7fef9..4bdc44775 100644 --- a/vendor/sabre/dav/lib/DAV/PropertyStorage/Backend/BackendInterface.php +++ b/vendor/sabre/dav/lib/DAV/PropertyStorage/Backend/BackendInterface.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Sabre\DAV\PropertyStorage\Backend; use Sabre\DAV\PropFind; @@ -15,8 +17,8 @@ use Sabre\DAV\PropPatch; * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ -interface BackendInterface { - +interface BackendInterface +{ /** * Fetches properties for a path. * @@ -30,14 +32,13 @@ interface BackendInterface { * However, you can also support the 'allprops' property here. In that * case, you should check for $propFind->isAllProps(). * - * @param string $path + * @param string $path * @param PropFind $propFind - * @return void */ - function propFind($path, PropFind $propFind); + public function propFind($path, PropFind $propFind); /** - * Updates properties for a path + * Updates properties for a path. * * This method received a PropPatch object, which contains all the * information about the update. @@ -45,11 +46,10 @@ interface BackendInterface { * Usually you would want to call 'handleRemaining' on this object, to get; * a list of all properties that need to be stored. * - * @param string $path + * @param string $path * @param PropPatch $propPatch - * @return void */ - function propPatch($path, PropPatch $propPatch); + public function propPatch($path, PropPatch $propPatch); /** * This method is called after a node is deleted. @@ -60,12 +60,11 @@ interface BackendInterface { * tree. * * @param string $path - * @return void */ - function delete($path); + public function delete($path); /** - * This method is called after a successful MOVE + * This method is called after a successful MOVE. * * This should be used to migrate all properties from one path to another. * Note that entire collections may be moved, so ensure that all properties @@ -73,8 +72,6 @@ interface BackendInterface { * * @param string $source * @param string $destination - * @return void */ - function move($source, $destination); - + public function move($source, $destination); } |