strategy fix

This commit is contained in:
Hemachandar
2026-02-06 12:52:07 +05:30
parent a00a9757f3
commit 983fd8ed14
2 changed files with 2 additions and 2 deletions
@@ -219,7 +219,7 @@ class Create extends Action
foreach ($strategies as $strategy) {
$detector = new Runtime($strategy, $packager);
if ($strategy === Strategy::LANGUAGES) {
if ($strategy->getValue() === Strategy::LANGUAGES) {
foreach ($languages as $language) {
$detector->addInput($language);
}
@@ -223,7 +223,7 @@ class XList extends Action
foreach ($strategies as $strategy) {
$detector = new Runtime($strategy, $packager);
if ($strategy === Strategy::LANGUAGES) {
if ($strategy->getValue() === Strategy::LANGUAGES) {
foreach ($languages as $language) {
$detector->addInput($language);
}