Passed
Branch master (921adf)
by Ralf
32:36 queued 11:27
created
api/src/Framework/Template.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	 * @param string $parent name of tempalte containing $handle
157 157
 	 * @param string $handle name of part
158 158
 	 * @param string $name name of variable/placeholder
159
-	 * @return boolean
159
+	 * @return false|null
160 160
 	 */
161 161
 	function set_block($parent, $handle, $name = '')
162 162
 	{
@@ -311,6 +311,8 @@  discard block
 block discarded – undo
311 311
 
312 312
 	/**
313 313
 	 * This is short for finish parse
314
+	 * @param string $target
315
+	 * @param string $handle
314 316
 	 */
315 317
 	function fp($target, $handle, $append = False)
316 318
 	{
@@ -319,6 +321,8 @@  discard block
 block discarded – undo
319 321
 
320 322
 	/**
321 323
 	 * This is a short cut for print finish parse
324
+	 * @param string $target
325
+	 * @param string $handle
322 326
 	 */
323 327
 	function pfp($target, $handle, $append = False)
324 328
 	{
@@ -365,6 +369,7 @@  discard block
 block discarded – undo
365 369
 	 * Return undefined variables/placeholders of a handle
366 370
 	 *
367 371
 	 * @param string handle handle of a template
372
+	 * @param string $handle
368 373
 	 * @return array|boolean array with undefined variables as key and value, or false if none
369 374
 	 */
370 375
 	function get_undefined($handle)
Please login to merge, or discard this patch.