It seems like $source->getId() ?: false can also be of type false; however, flipbox\craft\element\li...iationQuery::sourceId() does only seem to accept integer|array<integer,integer>|null, did you maybe forget to handle an error condition?
It seems like $target->getId() ?: false can also be of type false; however, flipbox\craft\element\li...iationQuery::targetId() does only seem to accept integer|array<integer,integer>|null, did you maybe forget to handle an error condition?
Loading history...
60
->siteId($siteId)
61
->one();
62
63
if (!$record) {
64
return true;
65
}
66
67
return $this->runInternal($record);
68
}
69
70
/**
71
* @param Association $record
72
* @return bool
73
* @throws \Throwable
74
* @throws \yii\db\StaleObjectException
75
*/
76
protected function performAction(Association $record): bool