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