mirror of
https://codeberg.org/reflect/reflect-rules-plugin.git
synced 2025-09-14 08:53:42 +02:00
fix: typehint for eval_array with POST data
This commit is contained in:
parent
5ea11cadf1
commit
7a44786af8
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@
|
|||
return true;
|
||||
}
|
||||
|
||||
private function eval_array(string $value, Scope $scope): bool {
|
||||
private function eval_array(string|array $value, Scope $scope): bool {
|
||||
// Arrays in POST parameters should already be decoded
|
||||
if ($scope === Scope::POST) {
|
||||
return is_array($value);
|
||||
|
|
Loading…
Add table
Reference in a new issue