1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00

Make return value explicit

This commit is contained in:
Jordi Boggiano 2021-08-18 14:32:06 +02:00
parent 9708f4568f
commit 3dcc6c1514
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC

View file

@ -94,6 +94,8 @@ abstract class Rule
if ($reason === self::RULE_PACKAGE_REQUIRES) { if ($reason === self::RULE_PACKAGE_REQUIRES) {
return $this->reasonData->getTarget(); return $this->reasonData->getTarget();
} }
return null;
} }
public function setType($type) public function setType($type)