dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f2f49a
)
parser: Fix return type for methods and match phpdoc comments
author
Derick Alangi
<alangiderick@gmail.com>
Mon, 25 Mar 2019 14:16:23 +0000
(15:16 +0100)
committer
Krinkle
<krinklemail@gmail.com>
Fri, 12 Apr 2019 23:33:47 +0000
(23:33 +0000)
Change-Id: I867d7eb6fc56cc52eb8e129977b7a62607a11268
includes/parser/Preprocessor_Hash.php
patch
|
blob
|
history
diff --git
a/includes/parser/Preprocessor_Hash.php
b/includes/parser/Preprocessor_Hash.php
index
dfce0a0
..
a845047
100644
(file)
--- a/
includes/parser/Preprocessor_Hash.php
+++ b/
includes/parser/Preprocessor_Hash.php
@@
-1760,7
+1760,8
@@
class PPNode_Hash_Tree implements PPNode {
*
* @param array $store
* @param int $index
- * @return PPNode_Hash_Tree|PPNode_Hash_Attr|PPNode_Hash_Text
+ * @return PPNode_Hash_Tree|PPNode_Hash_Attr|PPNode_Hash_Text|false
+ * @throws MWException
*/
public static function factory( array $store, $index ) {
if ( !isset( $store[$index] ) ) {
@@
-1784,6
+1785,7
@@
class PPNode_Hash_Tree implements PPNode {
/**
* Convert a node to XML, for debugging
+ * @return string
*/
public function __toString() {
$inner = '';