Skip to content
Snippets Groups Projects
Commit fed069a5 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Fix phpdoc comments for SimpleSAML_Stats.

parent 3c7e8467
No related branches found
No related tags found
No related merge requests found
...@@ -5,12 +5,13 @@ ...@@ -5,12 +5,13 @@
* *
* This class is responsible for taking a statistics event and logging it. * This class is responsible for taking a statistics event and logging it.
* *
* @package simpleSAMLphp * @package SimpleSAMLphp
*/ */
class SimpleSAML_Stats { class SimpleSAML_Stats {
/** /**
* Whether this class is initialized. * Whether this class is initialized.
*
* @var boolean * @var boolean
*/ */
private static $initialized = FALSE; private static $initialized = FALSE;
...@@ -18,6 +19,7 @@ class SimpleSAML_Stats { ...@@ -18,6 +19,7 @@ class SimpleSAML_Stats {
/** /**
* The statistics output callbacks. * The statistics output callbacks.
*
* @var array * @var array
*/ */
private static $outputs = NULL; private static $outputs = NULL;
...@@ -26,8 +28,8 @@ class SimpleSAML_Stats { ...@@ -26,8 +28,8 @@ class SimpleSAML_Stats {
/** /**
* Create an output from a configuration object. * Create an output from a configuration object.
* *
* @param SimpleSAML_Configuration $config The configuration object. * @param SimpleSAML_Configuration $config The configuration object.
* @return * @return mixed A new instance of the configured class.
*/ */
private static function createOutput(SimpleSAML_Configuration $config) { private static function createOutput(SimpleSAML_Configuration $config) {
$cls = $config->getString('class'); $cls = $config->getString('class');
...@@ -56,8 +58,8 @@ class SimpleSAML_Stats { ...@@ -56,8 +58,8 @@ class SimpleSAML_Stats {
/** /**
* Notify about an event. * Notify about an event.
* *
* @param string $event The event. * @param string $event The event.
* @param array $data Event data. Optional. * @param array $data Event data. Optional.
*/ */
public static function log($event, array $data = array()) { public static function log($event, array $data = array()) {
assert('is_string($event)'); assert('is_string($event)');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment