Issue #3169515: Warning: Declaration of entityValidate($entity) should be compatible with FeedsProcessor::entityValidate($entity, ?FeedsSource $source = NULL)
This commit is contained in:
parent
7528350717
commit
da504a1be7
|
@ -108,8 +108,8 @@ class FarmAssetProcessor extends FeedsProcessor {
|
|||
/**
|
||||
* Validates a farm asset.
|
||||
*/
|
||||
protected function entityValidate($entity) {
|
||||
parent::entityValidate($entity);
|
||||
protected function entityValidate($entity, FeedsSource $source = NULL) {
|
||||
parent::entityValidate($entity, $source);
|
||||
|
||||
if (!isset($entity->uid) || !is_numeric($entity->uid)) {
|
||||
$entity->uid = $this->config['author'];
|
||||
|
|
Loading…
Reference in New Issue