fix cant use method return value

This commit is contained in:
Frédéric FRANCE 2018-11-14 23:29:24 +01:00
parent 0729dfd378
commit 92cda2a75c
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -22,7 +22,8 @@ class NoRFCWarningsValidation extends RFCValidation
return false;
}
if (empty($this->getWarnings())) {
$ret = $this->getWarnings();
if (empty($ret)) {
return true;
}