Skip to content

Commit

Permalink
InitializerExprTypeResolver - constructor parameter `$usePathConstant…
Browse files Browse the repository at this point in the history
…sAsConstantString` made required
  • Loading branch information
ondrejmirtes committed Sep 14, 2024
1 parent 5b58f83 commit f88d9ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DependencyInjection/ValidateIgnoredErrorsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function getRegistry(): OperatorTypeSpecifyingExtensionRegistry
return new OperatorTypeSpecifyingExtensionRegistry(null, []);
}

}, new OversizedArrayBuilder()),
}, new OversizedArrayBuilder(), true),
),
),
);
Expand Down
2 changes: 1 addition & 1 deletion src/Reflection/InitializerExprTypeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function __construct(
private PhpVersion $phpVersion,
private OperatorTypeSpecifyingExtensionRegistryProvider $operatorTypeSpecifyingExtensionRegistryProvider,
private OversizedArrayBuilder $oversizedArrayBuilder,
private bool $usePathConstantsAsConstantString = false,
private bool $usePathConstantsAsConstantString,
)
{
}
Expand Down

0 comments on commit f88d9ba

Please sign in to comment.