diff --git a/module/VuFind/src/VuFind/Controller/HierarchyController.php b/module/VuFind/src/VuFind/Controller/HierarchyController.php
index 5b60453f1573476f3a1e98a3ef83a61f24feeb1c..8a1ccaca307cca44f5ab89451d71ac43ba9de21b 100644
--- a/module/VuFind/src/VuFind/Controller/HierarchyController.php
+++ b/module/VuFind/src/VuFind/Controller/HierarchyController.php
@@ -74,8 +74,7 @@ class HierarchyController extends AbstractBase
      * Search the tree and echo a json result of items that
      * matched the keywords.
      *
-     * @return void
-     * @access public
+     * @return \Zend\Http\Response
      */
     public function searchtreeAction()
     {
diff --git a/module/VuFind/src/VuFind/Hierarchy/TreeDataSource/AbstractBase.php b/module/VuFind/src/VuFind/Hierarchy/TreeDataSource/AbstractBase.php
index 69342894fccd4538c2ec426ee8866702a2c29442..3fe3dfd3c1b2904d3f6ad6c5c82e6674e7967b31 100644
--- a/module/VuFind/src/VuFind/Hierarchy/TreeDataSource/AbstractBase.php
+++ b/module/VuFind/src/VuFind/Hierarchy/TreeDataSource/AbstractBase.php
@@ -73,7 +73,6 @@ abstract class AbstractBase implements \Zend\Log\LoggerAwareInterface
      * @param string $msg Message to display
      *
      * @return void
-     * @access protected
      */
     protected function debug($msg)
     {