Skip to content

Commit d27fc06

Browse files
authored
Merge pull request #340 from stijnbernards/patch-1
fix: error where scopeConfig proxy would get $scopeType = default
2 parents 9422838 + 21f87d5 commit d27fc06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected function getFileContents(string $class): string
111111
break;
112112
default:
113113
if (is_string($parameter->getDefaultValue())) {
114-
$defaultValue = ' = ' . $parameter->getDefaultValue();
114+
$defaultValue = ' = \'' . $parameter->getDefaultValue() . '\'';
115115
}
116116
break;
117117
}

0 commit comments

Comments
 (0)