Completed
Branch master (6906de)
by
unknown
27:44
created
includes/parser/Preprocessor.php 1 patch
Doc Comments   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -56,6 +56,7 @@  discard block
 block discarded – undo
56 56
 	 *
57 57
 	 * @param string $text
58 58
 	 * @param int $flags
59
+	 * @param string $tree
59 60
 	 */
60 61
 	protected function cacheSetTree( $text, $flags, $tree ) {
61 62
 		$config = RequestContext::getMain()->getConfig();
@@ -84,7 +85,7 @@  discard block
 block discarded – undo
84 85
 	 *
85 86
 	 * @param string $text
86 87
 	 * @param int $flags
87
-	 * @return PPNode_Hash_Tree|bool
88
+	 * @return false|string
88 89
 	 */
89 90
 	protected function cacheGetTree( $text, $flags ) {
90 91
 		$config = RequestContext::getMain()->getConfig();
@@ -128,7 +129,7 @@  discard block
 block discarded – undo
128 129
 	 * Create a new custom frame for programmatic use of parameter replacement
129 130
 	 * as used in some extensions.
130 131
 	 *
131
-	 * @param array $args
132
+	 * @param boolean $args
132 133
 	 *
133 134
 	 * @return PPFrame
134 135
 	 */
@@ -182,7 +183,7 @@  discard block
 block discarded – undo
182 183
 
183 184
 	/**
184 185
 	 * Expand a document tree node, caching the result on its parent with the given key
185
-	 * @param string|int $key
186
+	 * @param string $key
186 187
 	 * @param string|PPNode $root
187 188
 	 * @param int $flags
188 189
 	 * @return string
@@ -201,7 +202,6 @@  discard block
 block discarded – undo
201 202
 	 * Implode with flags for expand()
202 203
 	 * @param string $sep
203 204
 	 * @param int $flags
204
-	 * @param string|PPNode $args,...
205 205
 	 * @return string
206 206
 	 */
207 207
 	public function implodeWithFlags( $sep, $flags /*, ... */ );
@@ -209,7 +209,6 @@  discard block
 block discarded – undo
209 209
 	/**
210 210
 	 * Implode with no flags specified
211 211
 	 * @param string $sep
212
-	 * @param string|PPNode $args,...
213 212
 	 * @return string
214 213
 	 */
215 214
 	public function implode( $sep /*, ... */ );
@@ -218,7 +217,6 @@  discard block
 block discarded – undo
218 217
 	 * Makes an object that, when expand()ed, will be the same as one obtained
219 218
 	 * with implode()
220 219
 	 * @param string $sep
221
-	 * @param string|PPNode $args,...
222 220
 	 * @return PPNode
223 221
 	 */
224 222
 	public function virtualImplode( $sep /*, ... */ );
@@ -228,7 +226,6 @@  discard block
 block discarded – undo
228 226
 	 * @param string $start
229 227
 	 * @param string $sep
230 228
 	 * @param string $end
231
-	 * @param string|PPNode $args,...
232 229
 	 * @return PPNode
233 230
 	 */
234 231
 	public function virtualBracketedImplode( $start, $sep, $end /*, ... */ );
@@ -260,7 +257,7 @@  discard block
 block discarded – undo
260 257
 
261 258
 	/**
262 259
 	 * Get an argument to this frame by name
263
-	 * @param int|string $name
260
+	 * @param string $name
264 261
 	 * @return string|bool
265 262
 	 */
266 263
 	public function getArgument( $name );
@@ -289,6 +286,7 @@  discard block
 block discarded – undo
289 286
 	 * to respect it, and it may be removed in the future.
290 287
 	 *
291 288
 	 * @param bool $flag
289
+	 * @return void
292 290
 	 */
293 291
 	public function setVolatile( $flag = true );
294 292
 
@@ -325,6 +323,7 @@  discard block
 block discarded – undo
325 323
 	 *
326 324
 	 * @see self::getTTL()
327 325
 	 * @param int $ttl
326
+	 * @return void
328 327
 	 */
329 328
 	public function setTTL( $ttl );
330 329
 
Please login to merge, or discard this patch.
includes/parser/Preprocessor_DOM.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1296,7 +1296,6 @@  discard block
 block discarded – undo
1296 1296
 	/**
1297 1297
 	 * @param string $sep
1298 1298
 	 * @param int $flags
1299
-	 * @param string|PPNode_DOM|DOMDocument $args,...
1300 1299
 	 * @return string
1301 1300
 	 */
1302 1301
 	public function implodeWithFlags( $sep, $flags /*, ... */ ) {
@@ -1328,7 +1327,6 @@  discard block
 block discarded – undo
1328 1327
 	 * This previously called implodeWithFlags but has now been inlined to reduce stack depth
1329 1328
 	 *
1330 1329
 	 * @param string $sep
1331
-	 * @param string|PPNode_DOM|DOMDocument $args,...
1332 1330
 	 * @return string
1333 1331
 	 */
1334 1332
 	public function implode( $sep /*, ... */ ) {
@@ -1360,7 +1358,6 @@  discard block
 block discarded – undo
1360 1358
 	 * with implode()
1361 1359
 	 *
1362 1360
 	 * @param string $sep
1363
-	 * @param string|PPNode_DOM|DOMDocument $args,...
1364 1361
 	 * @return array
1365 1362
 	 */
1366 1363
 	public function virtualImplode( $sep /*, ... */ ) {
@@ -1392,7 +1389,6 @@  discard block
 block discarded – undo
1392 1389
 	 * @param string $start
1393 1390
 	 * @param string $sep
1394 1391
 	 * @param string $end
1395
-	 * @param string|PPNode_DOM|DOMDocument $args,...
1396 1392
 	 * @return array
1397 1393
 	 */
1398 1394
 	public function virtualBracketedImplode( $start, $sep, $end /*, ... */ ) {
@@ -1530,7 +1526,7 @@  discard block
 block discarded – undo
1530 1526
 	/**
1531 1527
 	 * Get the TTL
1532 1528
 	 *
1533
-	 * @return int|null
1529
+	 * @return integer
1534 1530
 	 */
1535 1531
 	public function getTTL() {
1536 1532
 		return $this->ttl;
@@ -1555,7 +1551,7 @@  discard block
 block discarded – undo
1555 1551
 
1556 1552
 	/**
1557 1553
 	 * @param Preprocessor $preprocessor
1558
-	 * @param bool|PPFrame_DOM $parent
1554
+	 * @param PPFrame_DOM $parent
1559 1555
 	 * @param array $numberedArgs
1560 1556
 	 * @param array $namedArgs
1561 1557
 	 * @param bool|Title $title
@@ -1726,6 +1722,9 @@  discard block
 block discarded – undo
1726 1722
 
1727 1723
 	public $args;
1728 1724
 
1725
+	/**
1726
+	 * @param Preprocessor_DOM $preprocessor
1727
+	 */
1729 1728
 	public function __construct( $preprocessor, $args ) {
1730 1729
 		parent::__construct( $preprocessor );
1731 1730
 		$this->args = $args;
@@ -1833,7 +1832,7 @@  discard block
 block discarded – undo
1833 1832
 	/**
1834 1833
 	 * @param string $type
1835 1834
 	 *
1836
-	 * @return bool|PPNode_DOM
1835
+	 * @return PPNode_DOM
1837 1836
 	 */
1838 1837
 	public function getChildrenOfType( $type ) {
1839 1838
 		return new self( $this->getXPath()->query( $type, $this->node ) );
Please login to merge, or discard this patch.