Unverified Commit 72772f5f authored by alexpott's avatar alexpott

Issue #3086238 follow-up by quietone: getHighestId() should not fail when...

Issue #3086238 follow-up by quietone: getHighestId() should not fail when there is a destination id with type string
parent 02f1c210
......@@ -971,7 +971,7 @@ protected function getMigrationPluginManager() {
* {@inheritdoc}
*/
public function getHighestId() {
// Ensure that at the ID an integer.
// Ensure that the first ID is an integer.
$keys = $this->migration->getDestinationPlugin()->getIds();
if (reset($keys)['type'] !== 'integer') {
throw new \LogicException('To determine the highest migrated ID the first ID must be an integer');
......
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