mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +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
|
@ -124,7 +124,7 @@ class PackageSorterTest extends TestCase
|
|||
*
|
||||
* @return Package
|
||||
*/
|
||||
private function createPackage($name, $requires)
|
||||
private function createPackage($name, $requires): Package
|
||||
{
|
||||
$package = new Package($name, '1.0.0.0', '1.0.0');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue