From 5c8408b6266a531c998358cbdb18eb3413531acf Mon Sep 17 00:00:00 2001 From: Jaime Perez Crespo <jaime.perez@uninett.no> Date: Thu, 6 Aug 2015 14:43:51 +0200 Subject: [PATCH] Reformat the SimpleSAML_Stats_Output class. --- lib/SimpleSAML/Stats/Output.php | 36 +++++++++++++++++---------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/lib/SimpleSAML/Stats/Output.php b/lib/SimpleSAML/Stats/Output.php index b11c7a9c9..8b019c8c9 100644 --- a/lib/SimpleSAML/Stats/Output.php +++ b/lib/SimpleSAML/Stats/Output.php @@ -1,27 +1,29 @@ <?php + /** * Interface for statistics outputs. * - * @package simpleSAMLphp + * @package SimpleSAMLphp */ -abstract class SimpleSAML_Stats_Output { - - /** - * Initialize the output. - * - * @param SimpleSAML_Configuration $config The configuration for this output. - */ - public function __construct(SimpleSAML_Configuration $config) { - /* Do nothing by default. */ - } +abstract class SimpleSAML_Stats_Output +{ + /** + * Initialize the output. + * + * @param SimpleSAML_Configuration $config The configuration for this output. + */ + public function __construct(SimpleSAML_Configuration $config) + { + // do nothing by default + } - /** - * Write a stats event. - * - * @param array $data The event. - */ - abstract public function emit(array $data); + /** + * Write a stats event. + * + * @param array $data The event. + */ + abstract public function emit(array $data); } -- GitLab