Fix other minor type issues in libs
[MAILPOET-3926]
This commit is contained in:
committed by
Veljko V
parent
82f666c488
commit
d13f63b3e2
@ -34,7 +34,7 @@ class RequirementsChecker {
|
||||
|
||||
$className = get_class($filter);
|
||||
$ref = new \ReflectionClass($className);
|
||||
$constants = $ref->getConstants();
|
||||
$constants = $ref->getConstants() ?? [];
|
||||
if (!array_key_exists('SEGMENT_TYPE', $constants)) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user