minor: make PHPStan happy after a4eed151b7

This commit is contained in:
supahgreg
2025-10-05 21:23:24 +00:00
parent a4eed151b7
commit ceab15254b
2 changed files with 1 additions and 8 deletions

View File

@@ -90,7 +90,7 @@ class Pref_Filters extends Handler_Protected {
/** @var string $rule_json */
foreach (clean($_REQUEST['rule']) as $rule_json) {
/** @var array{'reg_exp': string, 'filter_type': int, 'feed_id': array<int, int|string>, 'name': string}|null */
/** @var array{reg_exp: string, filter_type: int, feed_id: array<int, int|string>, name: string, inverse?: bool}|null */
$rule = json_decode($rule_json, true);
if (is_array($rule)) {