Make return value explicit
parent
9708f4568f
commit
3dcc6c1514
|
@ -94,6 +94,8 @@ abstract class Rule
|
|||
if ($reason === self::RULE_PACKAGE_REQUIRES) {
|
||||
return $this->reasonData->getTarget();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function setType($type)
|
||||
|
|
Loading…
Reference in New Issue