From 40a847590e730ade0e46bb4b6a576ccb4b7e3e7f Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 28 Feb 2014 16:22:07 -0500 Subject: [PATCH] Checkstyles again. --- module/VuDL/src/VuDL/Connection/Fedora.php | 3 ++- module/VuDL/src/VuDL/Connection/Solr.php | 2 +- module/VuDL/src/VuDL/OutlineGenerator.php | 15 ++++++++++----- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/module/VuDL/src/VuDL/Connection/Fedora.php b/module/VuDL/src/VuDL/Connection/Fedora.php index 2b2ab92fe1a..118b45c371b 100644 --- a/module/VuDL/src/VuDL/Connection/Fedora.php +++ b/module/VuDL/src/VuDL/Connection/Fedora.php @@ -384,7 +384,8 @@ class Fedora extends AbstractBase /** * Get collapsable XML for an id * - * @param object $record Record data + * @param object $record Record data + * @param View\Renderer $renderer View renderer to get techinfo template * * @return html string */ diff --git a/module/VuDL/src/VuDL/Connection/Solr.php b/module/VuDL/src/VuDL/Connection/Solr.php index 6cae0ecce33..f11f810c590 100644 --- a/module/VuDL/src/VuDL/Connection/Solr.php +++ b/module/VuDL/src/VuDL/Connection/Solr.php @@ -337,7 +337,7 @@ class Solr extends AbstractBase /** * Perform a search with clean params * - * @param ParamBag $paramBag + * @param ParamBag $paramBag The params you'd normally send to solr * * @return json */ diff --git a/module/VuDL/src/VuDL/OutlineGenerator.php b/module/VuDL/src/VuDL/OutlineGenerator.php index e0559aa5257..d83806c3fcb 100644 --- a/module/VuDL/src/VuDL/OutlineGenerator.php +++ b/module/VuDL/src/VuDL/OutlineGenerator.php @@ -98,10 +98,10 @@ class OutlineGenerator /** * Constructor * - * @param Fedora $fedora Fedora connection - * @param UrlHelper $url URL helper - * @param array $routes VuDL route configuration - * @param object|bool $cache Cache object (or false to disable caching) + * @param Fedora $connector VuDL connection manager + * @param UrlHelper $url URL helper + * @param array $routes VuDL route configuration + * @param object|bool $cache Cache object (or false to disable caching) */ public function __construct(Connection\Manager $connector, UrlHelper $url, $routes = array(), $cache = false @@ -170,7 +170,11 @@ class OutlineGenerator { // Reset the state of the class: $this->queue = $this->moddate = array(); - $this->outline = array('counts'=>array(), 'names'=>array(), 'lists'=>array()); + $this->outline = array( + 'counts'=>array(), + 'names'=>array(), + 'lists'=>array() + ); // Check modification date $rootModDate = $this->connector->getModDate($root); @@ -290,6 +294,7 @@ class OutlineGenerator * Generate an array of all child pages and their information/images * * @param string $root record id to search under + * @param string $cache 'cache' get parameter for skipping the cache * @param string $start page/doc to start with for the return * @param int $pageLength page length (leave null to use default) * -- GitLab