Fix phpstan errors from new version
[MAILPOET-3725]
This commit is contained in:
@@ -179,7 +179,7 @@ class Model extends \MailPoetVendor\Sudzy\ValidModel {
|
||||
$model = $model->where($field, $value);
|
||||
}
|
||||
}
|
||||
if ($model) $model = $model->findOne();
|
||||
if ($model !== false) $model = $model->findOne();
|
||||
}
|
||||
|
||||
if ($model === false) {
|
||||
|
Reference in New Issue
Block a user