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:
parent
abdc6893a6
commit
a16ed3d0ed
134 changed files with 365 additions and 359 deletions
|
@ -265,7 +265,7 @@ class RemoteFilesystemTest extends TestCase
|
|||
*
|
||||
* @return string[][]
|
||||
*/
|
||||
public function provideBitbucketPublicDownloadUrls()
|
||||
public function provideBitbucketPublicDownloadUrls(): array
|
||||
{
|
||||
return array(
|
||||
array('https://bitbucket.org/seldaek/composer-live-test-repo/downloads/composer-unit-test-download-me.txt', '1234'),
|
||||
|
@ -343,7 +343,7 @@ class RemoteFilesystemTest extends TestCase
|
|||
*
|
||||
* @return mixed[]
|
||||
*/
|
||||
private function callGetOptionsForUrl(IOInterface $io, array $args = array(), array $options = array(), $fileUrl = '')
|
||||
private function callGetOptionsForUrl(IOInterface $io, array $args = array(), array $options = array(), $fileUrl = ''): array
|
||||
{
|
||||
$fs = new RemoteFilesystem($io, $this->getConfigMock(), $options);
|
||||
$ref = new ReflectionMethod($fs, 'getOptionsForUrl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue