diff --git a/core/modules/migrate/src/Entity/Migration.php b/core/modules/migrate/src/Entity/Migration.php index 4bc155a..f4d51ce 100644 --- a/core/modules/migrate/src/Entity/Migration.php +++ b/core/modules/migrate/src/Entity/Migration.php @@ -92,7 +92,7 @@ class Migration extends ConfigEntityBase implements MigrationInterface, Requirem * * @var array */ - protected $processPlugins = array(); + protected $processPlugins = []; /** * The destination configuration, with at least a 'plugin' key. @@ -117,7 +117,7 @@ class Migration extends ConfigEntityBase implements MigrationInterface, Requirem * * @var string */ - protected $idMap = array(); + protected $idMap = []; /** * The identifier map. @@ -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 !== self::SOURCE && $system_of_record !== self::DESTINATION) { throw new \InvalidArgumentException(String::format("The system-of-record '@systemofrecord' is not valid.", [ '@systemofrecord' => $system_of_record, ]));