diff --git a/src/Composer/Config/JsonConfigSource.php b/src/Composer/Config/JsonConfigSource.php index 4be155782..efede264e 100644 --- a/src/Composer/Config/JsonConfigSource.php +++ b/src/Composer/Config/JsonConfigSource.php @@ -206,6 +206,13 @@ class JsonConfigSource implements ConfigSourceInterface }); } + /** + * @param string $method + * @param mixed ...$args + * @param callable $fallback + * + * @return void + */ protected function manipulateJson($method, $args, $fallback) { $args = func_get_args(); @@ -290,7 +297,7 @@ class JsonConfigSource implements ConfigSourceInterface /** * Prepend a reference to an element to the beginning of an array. * - * @param array $array + * @param mixed[] $array * @param mixed $value * @return int */