File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 66
77use ArrayIterator ;
88use Mezzio \Template \Exception \InvalidArgumentException ;
9+ use MezzioTest \Template \TestAsset \ArrayParameters ;
910use PHPUnit \Framework \TestCase ;
1011
1112class ArrayParametersTraitTest extends TestCase
1213{
13- /** @var TestAsset\ArrayParameters */
14- private $ subject ;
14+ private ArrayParameters $ subject ;
1515
1616 protected function setUp (): void
1717 {
18- $ this ->subject = new TestAsset \ ArrayParameters ();
18+ $ this ->subject = new ArrayParameters ();
1919 }
2020
2121 public function testNullParamsAreReturnedAsEmptyArray (): void
Original file line number Diff line number Diff line change 1212
1313class DefaultParamsTraitTest extends TestCase
1414{
15- /** @var ArrayParameters */
16- private $ arrayParams ;
15+ private ArrayParameters $ arrayParams ;
1716
18- /** @var DefaultParameters */
19- private $ defaultParams ;
17+ private DefaultParameters $ defaultParams ;
2018
2119 protected function setUp (): void
2220 {
Original file line number Diff line number Diff line change 66
77class ViewModel
88{
9- /** @var array */
10- private $ variables ;
9+ private array $ variables ;
1110
1211 public function __construct (array $ variables )
1312 {
You can’t perform that action at this time.
0 commit comments