PHPStan level 6 in src/Composer/Config (refs #10159) (#10182)

main
Paolo Rossi 3 years ago committed by GitHub
parent 87f25e6df6
commit 3add01a40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
*/

Loading…
Cancel
Save