From cf6fb2c2e49718ad4b9120d42db28b42fb2ff038 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Thu, 2 Oct 2014 16:08:24 +0200 Subject: [PATCH] Remove redundant null initializations. --- lib/private/tagmanager.php | 4 ++-- lib/private/tags.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/private/tagmanager.php b/lib/private/tagmanager.php index 9a371a11253..72648e9b932 100644 --- a/lib/private/tagmanager.php +++ b/lib/private/tagmanager.php @@ -40,7 +40,7 @@ class TagManager implements \OCP\ITagManager { * * @var string */ - private $user = null; + private $user; /** * Constructor. @@ -65,4 +65,4 @@ class TagManager implements \OCP\ITagManager { return new Tags($this->user, $type, $defaultTags); } -} \ No newline at end of file +} diff --git a/lib/private/tags.php b/lib/private/tags.php index ca04953e42c..b1bd3b13d45 100644 --- a/lib/private/tags.php +++ b/lib/private/tags.php @@ -55,14 +55,14 @@ class Tags implements \OCP\ITags { * * @var string */ - private $type = null; + private $type; /** * User * * @var string */ - private $user = null; + private $user; const TAG_TABLE = '*PREFIX*vcategory'; const RELATION_TABLE = '*PREFIX*vcategory_to_object'; -- 2.39.5