1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add return types to private/internal methods

This commit is contained in:
Jordi Boggiano 2022-02-18 11:22:01 +01:00
parent abdc6893a6
commit a16ed3d0ed
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
134 changed files with 365 additions and 359 deletions

View file

@ -89,7 +89,7 @@ class RunScriptCommandTest extends TestCase
}
/** @return bool[][] **/
public function getDevOptions()
public function getDevOptions(): array
{
return array(
array(true, true),
@ -100,7 +100,7 @@ class RunScriptCommandTest extends TestCase
}
/** @return Composer **/
private function createComposerInstance()
private function createComposerInstance(): Composer
{
$composer = new Composer;
$config = new Config;