File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/EntityList/Commands/QuickCreate Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,11 @@ public function buildFormFields(FieldsContainer $formFields): void
3434
3535 public function buildFormLayout (FormLayout $ formLayout ): void
3636 {
37- $ formLayout ->addColumn (6 , function (FormLayoutColumn $ column ) {
38- $ column ->withField ('name ' )
39- ->withField ('description ' );
40- });
37+ $ formLayout
38+ ->addColumn (6 , fn (FormLayoutColumn $ column ) => $ column
39+ ->withField ('name ' )
40+ ->withField ('description ' )
41+ );
4142 }
4243
4344 public function buildFormConfig (): void
Original file line number Diff line number Diff line change 2727use Code16 \Sharp \Form \Layout \FormLayoutTab ;
2828use Code16 \Sharp \Form \SharpForm ;
2929use Code16 \Sharp \Utils \Fields \FieldsContainer ;
30- use Code16 \Sharp \Utils \PageAlerts \PageAlert ;
3130
3231class PostForm extends SharpForm
3332{
@@ -191,7 +190,7 @@ public function buildFormLayout(FormLayout $formLayout): void
191190 });
192191 });
193192 }
194-
193+
195194 public function buildFormConfig (): void
196195 {
197196 $ this ->configureDisplayShowPageAfterCreation ()
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function getDataLocalizations(): array
6464 {
6565 return $ this ->sharpForm ->getDataLocalizations ();
6666 }
67-
67+
6868 public function getInstanceId (): mixed
6969 {
7070 return $ this ->instanceId ;
You can’t perform that action at this time.
0 commit comments