diff --git a/core/modules/migrate/src/Entity/Migration.php b/core/modules/migrate/src/Entity/Migration.php index f4d51ce..66970a6 100644 --- a/core/modules/migrate/src/Entity/Migration.php +++ b/core/modules/migrate/src/Entity/Migration.php @@ -409,7 +409,7 @@ public function getSystemOfRecord() { * {@inheritdoc} */ public function setSystemOfRecord($system_of_record) { - if ($system_of_record !== self::SOURCE && $system_of_record !== self::DESTINATION) { + if ($system_of_record !== static::SOURCE && $system_of_record !== static::DESTINATION) { throw new \InvalidArgumentException(String::format("The system-of-record '@systemofrecord' is not valid.", [ '@systemofrecord' => $system_of_record, ]));