Skip to content

Commit b426f85

Browse files
author
Joachim Schole
committed
fix: switch name and hint in settings suggestions
1 parent 2888a2a commit b426f85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/models/Settings.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public function getGeneratorSuggestions(): array
6969
$obj = new $classname();
7070

7171
$data[] = [
72-
'name' => $obj->getName(),
73-
'hint' => $handle
72+
'name' => $handle,
73+
'hint' => $obj->getName()
7474
];
7575
}
7676

@@ -93,8 +93,8 @@ public function getTranslatorSuggestions(): array
9393
$obj = new $classname();
9494

9595
$data[] = [
96-
'name' => $obj->getName(),
97-
'hint' => $handle
96+
'name' => $handle,
97+
'hint' => $obj->getName()
9898
];
9999
}
100100

0 commit comments

Comments
 (0)