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:
parent
b232ee6663
commit
cfe718fa43
2 changed files with 5 additions and 1 deletions
|
@ -76,6 +76,9 @@ abstract class Rule
|
|||
return $this->reasonData;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ?string
|
||||
*/
|
||||
public function getRequiredPackage()
|
||||
{
|
||||
$reason = $this->getReason();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue