Skip to content

Commit 41bbd39

Browse files
kenjisMGatner
andcommitted
docs: improve @param
Co-authored-by: MGatner <mgatner@icloud.com>
1 parent 84b242a commit 41bbd39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ function env(string $key, $default = null)
415415
* 'value' of the key/value pairs.
416416
*
417417
* @param array|string $data
418-
* @param string $context Valid context values: html, js, css, url, attr, raw
418+
* @param 'html'|'js'|'css'|'url'|'attr'|'raw' $context
419419
* @param string|null $encoding Current encoding for escaping.
420420
* If not UTF-8, we convert strings from this encoding
421421
* pre-escaping and back to this encoding post-escaping.

0 commit comments

Comments
 (0)