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
|
@ -269,7 +269,7 @@ class ConfigTest extends TestCase
|
|||
/**
|
||||
* @return string[][] List of test URLs that should pass strict security
|
||||
*/
|
||||
public function allowedUrlProvider()
|
||||
public function allowedUrlProvider(): array
|
||||
{
|
||||
$urls = array(
|
||||
'https://packagist.org',
|
||||
|
@ -290,7 +290,7 @@ class ConfigTest extends TestCase
|
|||
/**
|
||||
* @return string[][] List of test URLs that should not pass strict security
|
||||
*/
|
||||
public function prohibitedUrlProvider()
|
||||
public function prohibitedUrlProvider(): array
|
||||
{
|
||||
$urls = array(
|
||||
'http://packagist.org',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue