1
0
Fork 0

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

pull/10186/head
Paolo Rossi 2021-10-18 23:51:43 +02:00 committed by GitHub
parent 87f25e6df6
commit 3add01a40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

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