Completed
Push — release-2.1 ( 7b49ae...3d25b8 )
by Mert
06:32
created
Sources/Load.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2206,9 +2206,9 @@  discard block
 block discarded – undo
2206 2206
  *
2207 2207
  * @uses the template_include() function to include the file.
2208 2208
  * @param string $template_name The name of the template to load
2209
- * @param array|string $style_sheets The name of a single stylesheet or an array of names of stylesheets to load
2209
+ * @param string $style_sheets The name of a single stylesheet or an array of names of stylesheets to load
2210 2210
  * @param bool $fatal If true, dies with an error message if the template cannot be found
2211
- * @return boolean Whether or not the template was loaded
2211
+ * @return boolean|null Whether or not the template was loaded
2212 2212
  */
2213 2213
 function loadTemplate($template_name, $style_sheets = array(), $fatal = true)
2214 2214
 {
@@ -2396,7 +2396,7 @@  discard block
 block discarded – undo
2396 2396
  * - all code added with this function is added to the same <style> tag so do make sure your css is valid!
2397 2397
  *
2398 2398
  * @param string $css Some css code
2399
- * @return void|bool Adds the CSS to the $context['css_header'] array or returns if no CSS is specified
2399
+ * @return false|null Adds the CSS to the $context['css_header'] array or returns if no CSS is specified
2400 2400
  */
2401 2401
 function addInlineCss($css)
2402 2402
 {
@@ -2412,7 +2412,7 @@  discard block
 block discarded – undo
2412 2412
 /**
2413 2413
  * Add a Javascript file for output later
2414 2414
 
2415
- * @param string $filename The name of the file to load
2415
+ * @param string $fileName The name of the file to load
2416 2416
  * @param array $params An array of parameter info
2417 2417
  * Keys are the following:
2418 2418
  * 	- ['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
@@ -2510,7 +2510,7 @@  discard block
 block discarded – undo
2510 2510
  *
2511 2511
  * @param string $javascript Some JS code
2512 2512
  * @param bool $defer Whether the script should load in <head> or before the closing <html> tag
2513
- * @return void|bool Adds the code to one of the $context['javascript_inline'] arrays or returns if no JS was specified
2513
+ * @return false|null Adds the code to one of the $context['javascript_inline'] arrays or returns if no JS was specified
2514 2514
  */
2515 2515
 function addInlineJavascript($javascript, $defer = false)
2516 2516
 {
Please login to merge, or discard this patch.