From 01e216d8843623299bc188e4df0a20488846457d Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 21 Dec 2010 15:46:04 -0500 Subject: [PATCH] small phpdoc tweaks while I'm poking --- ansel/lib/Tagger.php | 6 ++++-- ansel/lib/Widget.php | 2 ++ ansel/lib/Widget/Base.php | 2 ++ ansel/lib/Widget/SimilarPhotos.php | 5 ++++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ansel/lib/Tagger.php b/ansel/lib/Tagger.php index 0efc8aa7c..f54a8b702 100644 --- a/ansel/lib/Tagger.php +++ b/ansel/lib/Tagger.php @@ -1,6 +1,7 @@ + * @category Horde * @license http://www.fsf.org/copyleft/gpl.html GPL * @package Ansel */ @@ -239,7 +241,7 @@ class Ansel_Tagger * * @param string $token The token to match the start of the tag with. * - * @return A tag_id => tag_name hash + * @return array A tag_id => tag_name hash * @throws Ansel_Exception */ public function listTags($token) diff --git a/ansel/lib/Widget.php b/ansel/lib/Widget.php index ad93b09f8..6eafcd1ff 100644 --- a/ansel/lib/Widget.php +++ b/ansel/lib/Widget.php @@ -9,6 +9,8 @@ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. * * @author Michael J. Rubinsky + * @category Horde + * @license http://www.fsf.org/copyleft/gpl.html GPL * @package Ansel */ class Ansel_Widget diff --git a/ansel/lib/Widget/Base.php b/ansel/lib/Widget/Base.php index 4fae1ca15..5be50fb8d 100644 --- a/ansel/lib/Widget/Base.php +++ b/ansel/lib/Widget/Base.php @@ -9,6 +9,8 @@ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. * * @author Michael J. Rubinsky + * @category Horde + * @license http://www.fsf.org/copyleft/gpl.html GPL * @package Ansel */ abstract class Ansel_Widget_Base diff --git a/ansel/lib/Widget/SimilarPhotos.php b/ansel/lib/Widget/SimilarPhotos.php index 7bcb64f4a..bfcc15a01 100755 --- a/ansel/lib/Widget/SimilarPhotos.php +++ b/ansel/lib/Widget/SimilarPhotos.php @@ -4,6 +4,8 @@ * thumbnails of images that are similar, based on tags. * * @author Michael J. Rubinsky + * @category Horde + * @license http://www.fsf.org/copyleft/gpl.html GPL * @package Ansel */ class Ansel_Widget_SimilarPhotos extends Ansel_Widget_Base @@ -11,7 +13,7 @@ class Ansel_Widget_SimilarPhotos extends Ansel_Widget_Base /** * Array of views that this widget may appear in. * - * @var unknown_type + * @var array */ protected $_supported_views = array('Image'); @@ -19,6 +21,7 @@ class Ansel_Widget_SimilarPhotos extends Ansel_Widget_Base * Constructor * * @param array $params Any parameters for this widget + * * @return Ansel_Widget_SimilarPhotos */ public function __construct($params) -- 2.11.0