mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
12 lines
247 B
PHP
12 lines
247 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @psalm-pure
|
||
|
*
|
||
|
* @psalm-taint-escape html
|
||
|
* @psalm-flow ($string) -> return
|
||
|
*
|
||
|
* @param null|string|array<array-key,string> $allowed_tags
|
||
|
*/
|
||
|
function strip_tags(string $string, null|string|array $allowed_tags = null) : string {}
|