mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Make return value explicit
This commit is contained in:
parent
9708f4568f
commit
3dcc6c1514
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ abstract class Rule
|
|||
if ($reason === self::RULE_PACKAGE_REQUIRES) {
|
||||
return $this->reasonData->getTarget();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function setType($type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue