diff options
author | Jaime Perez Crespo <jaime.perez@uninett.no> | 2015-08-05 14:35:54 +0200 |
---|---|---|
committer | Jaime Perez Crespo <jaime.perez@uninett.no> | 2015-08-05 14:35:54 +0200 |
commit | fed069a5d8089b7016bf14109ab1bf9fb86f5668 (patch) | |
tree | 9a1aefa136fa74ad02182bfc8bd07766e50aeb9d /lib/SimpleSAML | |
parent | 3c7e84673055c61aa7addde9618ee190aeef0429 (diff) | |
download | simplesamlphp-fed069a5d8089b7016bf14109ab1bf9fb86f5668.zip simplesamlphp-fed069a5d8089b7016bf14109ab1bf9fb86f5668.tar.gz simplesamlphp-fed069a5d8089b7016bf14109ab1bf9fb86f5668.tar.bz2 |
Fix phpdoc comments for SimpleSAML_Stats.
Diffstat (limited to 'lib/SimpleSAML')
-rw-r--r-- | lib/SimpleSAML/Stats.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/SimpleSAML/Stats.php b/lib/SimpleSAML/Stats.php index acaf1d8..e0f844c 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)'); |