Skip to content

Commit b25ff87

Browse files
committed
docs: add @phpstan-param
1 parent cffbd87 commit b25ff87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/View/RendererInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function renderString(string $view, ?array $options = null, bool $saveDat
4646
*
4747
* @param string $context The context to escape it for: html, css, js, url
4848
* If 'raw', no escaping will happen
49+
* @phpstan-param null|'html'|'js'|'css'|'url'|'attr'|'raw' $context
4950
*
5051
* @return RendererInterface
5152
*/
@@ -57,6 +58,7 @@ public function setData(array $data = [], ?string $context = null);
5758
* @param mixed $value
5859
* @param string $context The context to escape it for: html, css, js, url
5960
* If 'raw' no escaping will happen
61+
* @phpstan-param null|'html'|'js'|'css'|'url'|'attr'|'raw' $context
6062
*
6163
* @return RendererInterface
6264
*/

0 commit comments

Comments
 (0)