Skip to content

Commit 17980ae

Browse files
jasonvargaclaude
andcommitted
Rename shadowed prefix variable in toImportedPublishSection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c8a9e76 commit 17980ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Fields/Tab.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ private function toImportedPublishSection(array $section, array $import): array
165165
$fields = $fields->mapWithKeys(function ($field) use ($prefix) {
166166
$field = clone $field;
167167
$handle = $prefix.$field->handle();
168-
$prefix = $prefix.$field->prefix();
168+
$fieldPrefix = $prefix.$field->prefix();
169169

170-
return [$handle => $field->setHandle($handle)->setPrefix($prefix)];
170+
return [$handle => $field->setHandle($handle)->setPrefix($fieldPrefix)];
171171
});
172172
}
173173

0 commit comments

Comments
 (0)