diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-12-18 16:43:00 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-12-18 16:43:00 +0100 |
commit | 6224e29f25931c175fca23148fa491e182de8348 (patch) | |
tree | 31d9e4a66efb38081aee48a381b4081ce407678a | |
parent | 3c679004217e0a1a600bd2d83075a01fb4bf4438 (diff) | |
download | nextcloud-server-6224e29f25931c175fca23148fa491e182de8348.tar.gz nextcloud-server-6224e29f25931c175fca23148fa491e182de8348.zip |
Fix code style issues for tags plugin
-rw-r--r-- | lib/private/connector/sabre/directory.php | 4 | ||||
-rw-r--r-- | lib/private/connector/sabre/taglist.php | 2 | ||||
-rw-r--r-- | 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 = '_$!<Favorite>!$_'; /** |