Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 282a698

Browse files
Fix after PHPStan update
1 parent bb3e671 commit 282a698

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎tests/Type/Symfony/data/input_bag.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
assertType('bool|float|int|string|null', $bag->get('foo', null));
1919
assertType('bool|float|int|string', $bag->get('foo', ''));
2020
assertType('bool|float|int|string', $bag->get('foo', 'baz'));
21-
assertType('array<string, array|bool|float|int|string>', $bag->all());
22-
assertType('array', $bag->all('bar'));
21+
assertType('array<string, array<mixed>|bool|float|int|string>', $bag->all());
22+
assertType('array<mixed>', $bag->all('bar'));

‎tests/Type/Symfony/data/property_accessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
$array = [1 => 'ea'];
88
$propertyAccessor->setValue($array, 'foo', 'bar');
9-
assertType('array', $array);
9+
assertType('array<mixed>', $array);
1010

1111
$object = new \stdClass();
1212
$propertyAccessor->setValue($object, 'foo', 'bar');

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /