1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 09:32:55 +00:00

Fix usage of getRequiredPackage, closes #10052

This commit is contained in:
Jordi Boggiano 2021-08-18 14:29:49 +02:00
parent b232ee6663
commit cfe718fa43
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
2 changed files with 5 additions and 1 deletions

View file

@ -76,6 +76,9 @@ abstract class Rule
return $this->reasonData;
}
/**
* @return ?string
*/
public function getRequiredPackage()
{
$reason = $this->getReason();