Skip to content

Commit d68c474

Browse files
committed
Sort lines + remove redundant setting
1 parent 08eb413 commit d68c474

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/fields/BaseRelationField.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,9 @@ public function settingsAttributes(): array
391391
{
392392
$attributes = parent::settingsAttributes();
393393
$attributes[] = 'allowSelfRelations';
394+
$attributes[] = 'branchLimit';
394395
$attributes[] = 'localizeRelations';
396+
$attributes[] = 'maintainHierarchy';
395397
$attributes[] = 'maxRelations';
396398
$attributes[] = 'minRelations';
397399
$attributes[] = 'selectionLabel';
@@ -401,9 +403,6 @@ public function settingsAttributes(): array
401403
$attributes[] = 'targetSiteId';
402404
$attributes[] = 'validateRelatedElements';
403405
$attributes[] = 'viewMode';
404-
$attributes[] = 'allowSelfRelations';
405-
$attributes[] = 'maintainHierarchy';
406-
$attributes[] = 'branchLimit';
407406

408407
return $attributes;
409408
}

0 commit comments

Comments
 (0)