🚨 assure backward compatibility

This commit is contained in:
Gautier DELEGLISE
2024-11-04 08:24:17 +01:00
parent f26d445de6
commit 1ed543b248
+3
View File
@@ -71,6 +71,9 @@ final class MethodParameter
public function getDefaultValue(): ?string
{
if ($this->defaultValue === static::NO_DEFAULT_VALUE) {
return null;
}
if (is_array($this->defaultValue)) {
return implode(',', $this->defaultValue);
}