Completed
Push — release-2.1 ( 77cc5b...079e66 )
by Mert
06:13
created
Sources/Load.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2185,9 +2185,9 @@  discard block
 block discarded – undo
2185 2185
  *
2186 2186
  * @uses the template_include() function to include the file.
2187 2187
  * @param string $template_name The name of the template to load
2188
- * @param array|string $style_sheets The name of a single stylesheet or an array of names of stylesheets to load
2188
+ * @param string $style_sheets The name of a single stylesheet or an array of names of stylesheets to load
2189 2189
  * @param bool $fatal If true, dies with an error message if the template cannot be found
2190
- * @return boolean Whether or not the template was loaded
2190
+ * @return boolean|null Whether or not the template was loaded
2191 2191
  */
2192 2192
 function loadTemplate($template_name, $style_sheets = array(), $fatal = true)
2193 2193
 {
@@ -2374,7 +2374,7 @@  discard block
 block discarded – undo
2374 2374
  * - all code added with this function is added to the same <style> tag so do make sure your css is valid!
2375 2375
  *
2376 2376
  * @param string $css Some css code
2377
- * @return void|bool Adds the CSS to the $context['css_header'] array or returns if no CSS is specified
2377
+ * @return false|null Adds the CSS to the $context['css_header'] array or returns if no CSS is specified
2378 2378
  */
2379 2379
 function addInlineCss($css)
2380 2380
 {
@@ -2390,7 +2390,7 @@  discard block
 block discarded – undo
2390 2390
 /**
2391 2391
  * Add a Javascript file for output later
2392 2392
 
2393
- * @param string $filename The name of the file to load
2393
+ * @param string $fileName The name of the file to load
2394 2394
  * @param array $params An array of parameter info
2395 2395
  * Keys are the following:
2396 2396
  * 	- ['external'] (true/false): define if the file is a externally located file. Needs to be set to true if you are loading an external file
@@ -2487,7 +2487,7 @@  discard block
 block discarded – undo
2487 2487
  *
2488 2488
  * @param string $javascript Some JS code
2489 2489
  * @param bool $defer Whether the script should load in <head> or before the closing <html> tag
2490
- * @return void|bool Adds the code to one of the $context['javascript_inline'] arrays or returns if no JS was specified
2490
+ * @return false|null Adds the code to one of the $context['javascript_inline'] arrays or returns if no JS was specified
2491 2491
  */
2492 2492
 function addInlineJavascript($javascript, $defer = false)
2493 2493
 {
@@ -2717,7 +2717,7 @@  discard block
 block discarded – undo
2717 2717
  *
2718 2718
  * @param bool $use_cache Whether or not to use the cache
2719 2719
  * @param bool $favor_utf8 Whether or not to favor UTF-8 files
2720
- * @return array An array of information about available languages
2720
+ * @return string An array of information about available languages
2721 2721
  */
2722 2722
 function getLanguages($use_cache = true, $favor_utf8 = true)
2723 2723
 {
Please login to merge, or discard this patch.