Skip to content

Commit 21f87d5

Browse files
fix: error where scopeConfig proxy would get $scopeType = default
1 parent 9422838 commit 21f87d5

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)