File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 *
2020 * @phpstan-import-type InputObjectConfig from InputObjectType
2121 * @phpstan-import-type ArgumentType from InputObjectField
22- * @phpstan-import-type InputObjectFieldConfig from InputObjectField
2322 */
2423class MutableInputObjectType extends InputObjectType implements MutableInputInterface
2524{
@@ -96,10 +95,8 @@ public function getFields(): array
9695 $ fieldDefinition = ['type ' => $ fieldDefinition ];
9796 }
9897 assert (is_string ($ name ));
99- /** @var InputObjectFieldConfig $config */
100- $ config = $ fieldDefinition ;
101- $ config ['name ' ] = $ name ;
102- $ this ->finalFields [$ name ] = new InputObjectField ($ config );
98+ $ fieldDefinition ['name ' ] = $ name ;
99+ $ this ->finalFields [$ name ] = new InputObjectField ($ fieldDefinition );
103100 }
104101 }
105102 if (empty ($ this ->finalFields )) {
You can’t perform that action at this time.
0 commit comments