From fed069a5d8089b7016bf14109ab1bf9fb86f5668 Mon Sep 17 00:00:00 2001 From: Jaime Perez Crespo <jaime.perez@uninett.no> Date: Wed, 5 Aug 2015 14:35:54 +0200 Subject: [PATCH] Fix phpdoc comments for SimpleSAML_Stats. --- lib/SimpleSAML/Stats.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/SimpleSAML/Stats.php b/lib/SimpleSAML/Stats.php index acaf1d80d..e0f844c86 100644 --- a/lib/SimpleSAML/Stats.php +++ b/lib/SimpleSAML/Stats.php @@ -5,12 +5,13 @@ * * This class is responsible for taking a statistics event and logging it. * - * @package simpleSAMLphp + * @package SimpleSAMLphp */ class SimpleSAML_Stats { /** * Whether this class is initialized. + * * @var boolean */ private static $initialized = FALSE; @@ -18,6 +19,7 @@ class SimpleSAML_Stats { /** * The statistics output callbacks. + * * @var array */ private static $outputs = NULL; @@ -26,8 +28,8 @@ class SimpleSAML_Stats { /** * Create an output from a configuration object. * - * @param SimpleSAML_Configuration $config The configuration object. - * @return + * @param SimpleSAML_Configuration $config The configuration object. + * @return mixed A new instance of the configured class. */ private static function createOutput(SimpleSAML_Configuration $config) { $cls = $config->getString('class'); @@ -56,8 +58,8 @@ class SimpleSAML_Stats { /** * Notify about an event. * - * @param string $event The event. - * @param array $data Event data. Optional. + * @param string $event The event. + * @param array $data Event data. Optional. */ public static function log($event, array $data = array()) { assert('is_string($event)'); -- GitLab