mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
32445023d8
Fixes vimeo/psalm#4317
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 {}
|