mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Add return types to private/internal methods
This commit is contained in:
parent
abdc6893a6
commit
a16ed3d0ed
134 changed files with 365 additions and 359 deletions
|
@ -56,7 +56,7 @@ class PerforceDownloaderTest extends TestCase
|
|||
/**
|
||||
* @return \Composer\Config
|
||||
*/
|
||||
protected function getConfig()
|
||||
protected function getConfig(): \Composer\Config
|
||||
{
|
||||
$config = new Config();
|
||||
$settings = array('config' => array('home' => $this->testPath));
|
||||
|
@ -87,7 +87,7 @@ class PerforceDownloaderTest extends TestCase
|
|||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
protected function getRepoConfig()
|
||||
protected function getRepoConfig(): array
|
||||
{
|
||||
return array('url' => 'TEST_URL', 'p4user' => 'TEST_USER');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue