Skip to content

Commit d21c65d

Browse files
committed
docs: change @param to @phpstan-param
It seems PhpStorm does not support `@param 'html'`.
1 parent 7e388c9 commit d21c65d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

system/Common.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,10 @@ function env(string $key, $default = null)
415415
* 'value' of the key/value pairs.
416416
*
417417
* @param array|string $data
418-
* @param 'html'|'js'|'css'|'url'|'attr'|'raw' $context
419-
* @param string|null $encoding Current encoding for escaping.
420-
* If not UTF-8, we convert strings from this encoding
421-
* pre-escaping and back to this encoding post-escaping.
418+
* @phpstan-param 'html'|'js'|'css'|'url'|'attr'|'raw' $context
419+
* @param string|null $encoding Current encoding for escaping.
420+
* If not UTF-8, we convert strings from this encoding
421+
* pre-escaping and back to this encoding post-escaping.
422422
*
423423
* @return array|string
424424
*

0 commit comments

Comments
 (0)