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
/
libs
/
StatusValue.php
diff --git
a/includes/libs/StatusValue.php
b/includes/libs/StatusValue.php
index
3bdafe1
..
16cb1ed
100644
(file)
--- a/
includes/libs/StatusValue.php
+++ b/
includes/libs/StatusValue.php
@@
-75,7
+75,7
@@
class StatusValue {
/**
* Factory function for good results
*
/**
* Factory function for good results
*
- * @param mixed $value
+ * @param mixed
|null
$value
* @return static
*/
public static function newGood( $value = null ) {
* @return static
*/
public static function newGood( $value = null ) {
@@
-162,7
+162,7
@@
class StatusValue {
* Change operation result
*
* @param bool $ok Whether the operation completed
* Change operation result
*
* @param bool $ok Whether the operation completed
- * @param mixed $value
+ * @param mixed
|null
$value
*/
public function setResult( $ok, $value = null ) {
$this->ok = (bool)$ok;
*/
public function setResult( $ok, $value = null ) {
$this->ok = (bool)$ok;