Skip to content

Commit c58195c

Browse files
committed
AC-1685: Fix Integration Tests to be compatible with PHP 8.1
- unit test fix
1 parent fed4045 commit c58195c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Code/Test/Unit/Reader/ArgumentsReaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function testGetConstructorArgumentsClassWithAllArgumentsType()
9898
'optNoTypeValue' => [
9999
'name' => 'optNoTypeValue',
100100
'position' => 10,
101-
'type' => null,
101+
'type' => '\\\\optNoTypeValue',
102102
'isOptional' => true,
103103
'default' => null,
104104
],
@@ -193,7 +193,7 @@ public function testGetConstructorArgumentsClassWithoutOwnConstructorInheritedTr
193193
'optNoTypeValue' => [
194194
'name' => 'optNoTypeValue',
195195
'position' => 10,
196-
'type' => null,
196+
'type' => '\\\\optNoTypeValue',
197197
'isOptional' => true,
198198
'default' => null,
199199
],

0 commit comments

Comments
 (0)