We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833de03 commit 522e3c0Copy full SHA for 522e3c0
src/Console/Commands/GenerateTagGroup.php
@@ -18,7 +18,9 @@ public function handle()
18
{
19
$groupName = $this->argument('group');
20
21
- $tagGroup = new ${TaggingUtility::tagGroupModelString()};
+ $tagGroupModel = TaggingUtility::tagGroupModelString();
22
+
23
+ $tagGroup = new $tagGroupModel();
24
$tagGroup->name = $groupName;
25
$tagGroup->slug = TaggingUtility::normalize($groupName);
26
0 commit comments