Skip to content

Commit c95f359

Browse files
committed
Fixes #57. Update ::getIds() definition in migrate source plugin
1 parent 7b55f97 commit c95f359

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

templates/plugin/migrate/source/source.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class {{ class }} extends {{ base_class }} {
8585
* {@inheritdoc}
8686
*/
8787
public function getIds() {
88-
$ids['id']['type'] = [
88+
$ids['id'] = [
8989
'type' => 'integer',
9090
'unsigned' => TRUE,
9191
'size' => 'big',

tests/dcg/Generator/Plugin/Migrate/_source_other.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function fields() {
7373
* {@inheritdoc}
7474
*/
7575
public function getIds() {
76-
$ids['id']['type'] = [
76+
$ids['id'] = [
7777
'type' => 'integer',
7878
'unsigned' => TRUE,
7979
'size' => 'big',

tests/dcg/Generator/Plugin/Migrate/_source_sql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function fields() {
7373
* {@inheritdoc}
7474
*/
7575
public function getIds() {
76-
$ids['id']['type'] = [
76+
$ids['id'] = [
7777
'type' => 'integer',
7878
'unsigned' => TRUE,
7979
'size' => 'big',

0 commit comments

Comments
 (0)