Commit de43ea75 authored by Guy Thouret's avatar Guy Thouret

(fix) Linter for Entities\Propagator\Properties - #616

1 merge request!303Propogate Properties when entities get updated
Pipeline #79459659 passed with stages
in 10 minutes and 32 seconds
......@@ -54,8 +54,8 @@ abstract class Properties
throw new \Exception('actsOnSubType must be an array');
}
if ($this->actsOnType === [] || in_array($entity->getType(), $this->actsOnType)) {
return $this->actsOnSubtype === [] || in_array($entity->getSubtype(), $this->actsOnSubtype);
if ($this->actsOnType === [] || in_array($entity->getType(), $this->actsOnType, true)) {
return $this->actsOnSubtype === [] || in_array($entity->getSubtype(), $this->actsOnSubtype, true);
}
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment