Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
fed069a5
Commit
fed069a5
authored
9 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Fix phpdoc comments for SimpleSAML_Stats.
parent
3c7e8467
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Stats.php
+7
-5
7 additions, 5 deletions
lib/SimpleSAML/Stats.php
with
7 additions
and
5 deletions
lib/SimpleSAML/Stats.php
+
7
−
5
View file @
fed069a5
...
@@ -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
s
impleSAMLphp
* @package
S
impleSAMLphp
*/
*/
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)'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment