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
|
@ -260,7 +260,7 @@ class ArchivableFilesFinderTest extends TestCase
|
|||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
protected function getArchivableFiles()
|
||||
protected function getArchivableFiles(): array
|
||||
{
|
||||
$files = array();
|
||||
foreach ($this->finder as $file) {
|
||||
|
@ -279,7 +279,7 @@ class ArchivableFilesFinderTest extends TestCase
|
|||
*
|
||||
* @return string[]
|
||||
*/
|
||||
protected function getArchivedFiles($command)
|
||||
protected function getArchivedFiles($command): array
|
||||
{
|
||||
$process = Process::fromShellCommandline($command, $this->sources);
|
||||
$process->run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue