Update MethodParameterFactory.php

This commit is contained in:
Gautier DELEGLISE
2024-10-31 10:05:00 +01:00
parent 6a623a4829
commit 54f9b11a4c
@@ -65,6 +65,10 @@ final class MethodParameterFactory
return var_export($defaultValue, true); return var_export($defaultValue, true);
} }
/**
* @param array<array, null, int, float, bool, string, object> $defaultValue
* @return string
*/
private function formatArray(array $defaultValue): string private function formatArray(array $defaultValue): string
{ {
$formatedValue = '['; $formatedValue = '[';