Skip to content
Snippets Groups Projects
Commit 6224e29f authored by Vincent Petry's avatar Vincent Petry
Browse files

Fix code style issues for tags plugin

parent 3c679004
Branches
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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) {
......
......@@ -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>!$_';
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment