Skip to content
Snippets Groups Projects
Commit ced4e284 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#133435 by jpetso: fix arg() phpdoc to document that NULL is returned when an argument is not found

parent ac914745
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -153,7 +153,7 @@ function drupal_get_normal_path($path, $path_language = '') { ...@@ -153,7 +153,7 @@ function drupal_get_normal_path($path, $path_language = '') {
* (forward-slash), and where the first component has an index of 0 (zero). * (forward-slash), and where the first component has an index of 0 (zero).
* *
* @return * @return
* The component specified by $index, or FALSE if the specified component was * The component specified by $index, or NULL if the specified component was
* not found. * not found.
*/ */
function arg($index = NULL, $path = NULL) { function arg($index = NULL, $path = NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment