dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix PhanTypeMismatchDeclaredParam
[lhc/web/wiklou.git]
/
includes
/
session
/
Session.php
diff --git
a/includes/session/Session.php
b/includes/session/Session.php
index
e9a03f2
..
3dc8299
100644
(file)
--- a/
includes/session/Session.php
+++ b/
includes/session/Session.php
@@
-291,7
+291,7
@@
final class Session implements \Countable, \Iterator, \ArrayAccess {
/**
* Fetch a value from the session
* @param string|int $key
/**
* Fetch a value from the session
* @param string|int $key
- * @param mixed $default Returned if $this->exists( $key ) would be false
+ * @param mixed
|null
$default Returned if $this->exists( $key ) would be false
* @return mixed
*/
public function get( $key, $default = null ) {
* @return mixed
*/
public function get( $key, $default = null ) {
@@
-522,7
+522,7
@@
final class Session implements \Countable, \Iterator, \ArrayAccess {
/**
* Fetch a value from the session that was set with self::setSecret()
* @param string|int $key
/**
* Fetch a value from the session that was set with self::setSecret()
* @param string|int $key
- * @param mixed $default Returned if $this->exists( $key ) would be false or decryption fails
+ * @param mixed
|null
$default Returned if $this->exists( $key ) would be false or decryption fails
* @return mixed
*/
public function getSecret( $key, $default = null ) {
* @return mixed
*/
public function getSecret( $key, $default = null ) {