From 9c1bfa16647538339264a4078608bef986fb8ee9 Mon Sep 17 00:00:00 2001 From: George Steel Date: Mon, 25 Jul 2022 17:22:26 +0100 Subject: [PATCH] Baseline complaints of less specific return types for `getInputFilterSpecification` - a psalm type will need to be imported here from `inputfilter` Signed-off-by: George Steel --- psalm-baseline.xml | 154 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 139 insertions(+), 15 deletions(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index cadb69a26..84cd1e805 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -26,11 +26,6 @@ getAttributes - - - Attribute - - new $requestedName() @@ -76,14 +71,27 @@ $this + + + array + + gettype($captcha) + + array + is_object($captcha) + + + array + + $this->object instanceof Traversable @@ -113,7 +121,50 @@ bindValues + + + array + + + + + array + + + + + array + + + + + array + + + + + array + + + + + array + + + + + array + + + + + array + + + + array + $value @@ -121,6 +172,16 @@ static function ($value) use ($unselectedValue) { + + + array + + + + + array + + new $requestedName($name, $options) @@ -173,15 +234,19 @@ $childFieldset $filter + + $spec + $this $this $this - + $collectionInputFilter->get($name) $input $inputFilter + $spec $this->data @@ -491,10 +556,10 @@ $form - - - Annotation\AllowEmpty() - + + + array + @@ -506,11 +571,25 @@ $username - - - Annotation\AllowEmpty(true) - Annotation\ContinueIfEmpty(true) - + + + array + + + + + array + + + + + array + + + + + array + @@ -529,6 +608,16 @@ $this->view + + + array + + + + + array + + $name @@ -538,7 +627,15 @@ $dependency + + + array[] + + + + array[] + $name $options @@ -551,29 +648,56 @@ + + array[] + $name $options + + array[] + $name $options + + array[] + $name $options + + + array[] + + + + + array + + + + array[] + $name $options + + + array + + $storedValue