strategy fix

This commit is contained in:
Hemachandar committed 2026-02-06 12:52:07 +05:30
1 parent a00a9757f3
commit 983fd8ed14
2 files changed
+2 -2

No files matched your search

@@ -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);
}