From 6224e29f25931c175fca23148fa491e182de8348 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 18 Dec 2014 16:43:00 +0100 Subject: Fix code style issues for tags plugin --- lib/private/connector/sabre/directory.php | 4 +--- lib/private/connector/sabre/taglist.php | 2 +- lib/private/connector/sabre/tagsplugin.php | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/private/connector/sabre/directory.php b/lib/private/connector/sabre/directory.php index 7eeca9199fe..04472020728 100644 --- a/lib/private/connector/sabre/directory.php +++ b/lib/private/connector/sabre/directory.php @@ -21,15 +21,13 @@ * */ -use OC\Connector\Sabre\TagList; - class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements \Sabre\DAV\ICollection, \Sabre\DAV\IQuota { /** * Cached directory content * - * @var \OCP\FileInfo[] + * @var \OCP\Files\FileInfo[] */ private $dirContent; diff --git a/lib/private/connector/sabre/taglist.php b/lib/private/connector/sabre/taglist.php index 2b61be3e492..56cab393fea 100644 --- a/lib/private/connector/sabre/taglist.php +++ b/lib/private/connector/sabre/taglist.php @@ -85,7 +85,7 @@ class TagList extends DAV\Property { * It will only decode tag values. * * @param \DOMElement $dom - * @return DAV\Property\TagList + * @return \OC\Connector\Sabre\TagList */ static function unserialize(\DOMElement $dom) { diff --git a/lib/private/connector/sabre/tagsplugin.php b/lib/private/connector/sabre/tagsplugin.php index 86a66f5a8b5..dd0b5172bd6 100644 --- a/lib/private/connector/sabre/tagsplugin.php +++ b/lib/private/connector/sabre/tagsplugin.php @@ -28,8 +28,8 @@ class TagsPlugin extends \Sabre\DAV\ServerPlugin // namespace const NS_OWNCLOUD = 'http://owncloud.org/ns'; - const TAGS_PROPERTYNAME = '{' . self::NS_OWNCLOUD . '}tags'; - const FAVORITE_PROPERTYNAME = '{' . self::NS_OWNCLOUD . '}favorite'; + const TAGS_PROPERTYNAME = '{http://owncloud.org/ns}tags'; + const FAVORITE_PROPERTYNAME = '{http://owncloud.org/ns}favorite'; const TAG_FAVORITE = '_$!!$_'; /** -- cgit v1.2.3