Skip to content

Commit 3cd60a4

Browse files
committed
Fix small code style tings.
1 parent 2bbc410 commit 3cd60a4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

phpsec.class.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@
1313
* phpSec core functionality.
1414
*/
1515
class phpsec {
16-
public static $_charset = 'utf-8';
17-
public static $_storeName = null;
18-
public static $_sessenable = true;
19-
public static $uid = null; // User identifier.
20-
public static $store = null;
16+
public static $_charset = 'utf-8'; // Config: Charset used for filter methods.
17+
public static $_storeName = null; // Config: Store destination.
18+
public static $_sessenable = true; // Config: Enable phpSec session handler.
19+
public static $uid = null; // User identifier.
20+
public static $store = null; // Storage object.
2121

2222
/* Constants. */
2323
const HASH_TYPE = 'sha256';
2424
const VERSION = '0.1-dev';
25+
2526
/**
2627
* Autoload function to load required files when needed.
2728
*/
@@ -126,7 +127,6 @@ public static function error($msg, $level = E_USER_WARNING) {
126127
trigger_error($msg.'. (Called from <strong>'.$callee['file'].' line '.$callee['line'].'</strong>)', $level);
127128
}
128129

129-
130130
/**
131131
* Returns a unique identifier in the format spsecified in
132132
* OpenID Authentication 2.0 protocol.
@@ -148,3 +148,4 @@ public static function genUid($length = 50) {
148148
return $timeStamp.phpsecRand::str($randLength);
149149
}
150150
}
151+

0 commit comments

Comments
 (0)