Skip to content

Commit 62e8806

Browse files
authored
Merge pull request #5450 from totoprayogo1916/update/userguide
update docs about `esc()`
2 parents db24b0b + e2ec0fe commit 62e8806

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

system/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ function env(string $key, $default = null)
380380
* If $data is an array, then it loops over it, escaping each
381381
* 'value' of the key/value pairs.
382382
*
383-
* Valid context values: html, js, css, url, attr, raw, null
383+
* Valid context values: html, js, css, url, attr, raw
384384
*
385385
* @param array|string $data
386386
* @param string $encoding

user_guide_src/source/general/common_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Service Accessors
8181
If $data is a string, then it simply escapes and returns it.
8282
If $data is an array, then it loops over it, escaping each 'value' of the key/value pairs.
8383

84-
Valid context values: html, js, css, url, attr, raw, null
84+
Valid context values: html, js, css, url, attr, raw
8585

8686
.. php:function:: helper($filename)
8787

0 commit comments

Comments
 (0)