diff --git a/tests/Type/Symfony/data/input_bag.php b/tests/Type/Symfony/data/input_bag.php index 744a776..77b5882 100644 --- a/tests/Type/Symfony/data/input_bag.php +++ b/tests/Type/Symfony/data/input_bag.php @@ -18,5 +18,5 @@ assertType('bool|float|int|string|null', $bag->get('foo', null)); assertType('bool|float|int|string', $bag->get('foo', '')); assertType('bool|float|int|string', $bag->get('foo', 'baz')); -assertType('array', $bag->all()); -assertType('array', $bag->all('bar')); +assertType('array|bool|float|int|string>', $bag->all()); +assertType('array', $bag->all('bar')); diff --git a/tests/Type/Symfony/data/property_accessor.php b/tests/Type/Symfony/data/property_accessor.php index 0e44568..8d5e95f 100644 --- a/tests/Type/Symfony/data/property_accessor.php +++ b/tests/Type/Symfony/data/property_accessor.php @@ -6,7 +6,7 @@ $array = [1 => 'ea']; $propertyAccessor->setValue($array, 'foo', 'bar'); -assertType('array', $array); +assertType('array', $array); $object = new \stdClass(); $propertyAccessor->setValue($object, 'foo', 'bar');