Fix indentation

This commit is contained in:
Lukas Reschke 2015-05-27 14:57:19 +02:00
parent 3de945d13d
commit ffd73ef2e4
1 changed files with 25 additions and 25 deletions

View File

@ -87,13 +87,13 @@ class CustomPropertiesBackend implements BackendInterface {
$this->user = $user->getUID(); $this->user = $user->getUID();
} }
/** /**
* Fetches properties for a path. * Fetches properties for a path.
* *
* @param string $path * @param string $path
* @param PropFind $propFind * @param PropFind $propFind
* @return void * @return void
*/ */
public function propFind($path, PropFind $propFind) { public function propFind($path, PropFind $propFind) {
try { try {
$node = $this->tree->getNodeForPath($path); $node = $this->tree->getNodeForPath($path);
@ -139,14 +139,14 @@ class CustomPropertiesBackend implements BackendInterface {
} }
} }
/** /**
* Updates properties for a path * Updates properties for a path
*
* @param string $path
* @param PropPatch $propPatch
* *
* @return void * @param string $path
*/ * @param PropPatch $propPatch
*
* @return void
*/
public function propPatch($path, PropPatch $propPatch) { public function propPatch($path, PropPatch $propPatch) {
$node = $this->tree->getNodeForPath($path); $node = $this->tree->getNodeForPath($path);
if (!($node instanceof Node)) { if (!($node instanceof Node)) {
@ -158,11 +158,11 @@ class CustomPropertiesBackend implements BackendInterface {
}); });
} }
/** /**
* This method is called after a node is deleted. * This method is called after a node is deleted.
* *
* @param string $path path of node for which to delete properties * @param string $path path of node for which to delete properties
*/ */
public function delete($path) { public function delete($path) {
$statement = $this->connection->prepare( $statement = $this->connection->prepare(
'DELETE FROM `*PREFIX*properties` WHERE `userid` = ? AND `propertypath` = ?' 'DELETE FROM `*PREFIX*properties` WHERE `userid` = ? AND `propertypath` = ?'
@ -173,14 +173,14 @@ class CustomPropertiesBackend implements BackendInterface {
unset($this->cache[$path]); unset($this->cache[$path]);
} }
/** /**
* This method is called after a successful MOVE * This method is called after a successful MOVE
*
* @param string $source
* @param string $destination
* *
* @return void * @param string $source
*/ * @param string $destination
*
* @return void
*/
public function move($source, $destination) { public function move($source, $destination) {
$statement = $this->connection->prepare( $statement = $this->connection->prepare(
'UPDATE `*PREFIX*properties` SET `propertypath` = ?' . 'UPDATE `*PREFIX*properties` SET `propertypath` = ?' .