mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-08 12:29:26 +01:00
phpstorm was wrong? idk...
This commit is contained in:
parent
ccb61382d0
commit
a29728f6b7
@ -262,7 +262,7 @@ class CreateServer extends CreateRecord
|
|||||||
->required(),
|
->required(),
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
->createOptionUsing(function (array $data, Get $get, AssignmentService $assignmentService): \Closure {
|
->createOptionUsing(function (array $data, Get $get, AssignmentService $assignmentService): int {
|
||||||
return collect(
|
return collect(
|
||||||
$assignmentService->handle(Node::find($get('node_id')), $data)
|
$assignmentService->handle(Node::find($get('node_id')), $data)
|
||||||
)->first();
|
)->first();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user