mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 13:24:46 +02:00
Fix all of these.
This commit is contained in:
parent
52a5d9c37e
commit
378059625e
@ -44,7 +44,7 @@ class CreateEgg extends CreateRecord
|
||||
return [];
|
||||
}
|
||||
|
||||
public function form(Form|Schema $schema): Schema
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->schema([
|
||||
|
@ -25,7 +25,7 @@ class CreateNode extends CreateRecord
|
||||
|
||||
protected static bool $canCreateAnother = false;
|
||||
|
||||
public function form(Form|Schema $schema): Schema
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->schema([
|
||||
|
@ -59,7 +59,7 @@ class CreateServer extends CreateRecord
|
||||
$this->serverCreationService = $serverCreationService;
|
||||
}
|
||||
|
||||
public function form(Form|Schema $schema): Schema
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->schema([
|
||||
|
@ -76,7 +76,7 @@ class WebhookResource extends Resource
|
||||
]);
|
||||
}
|
||||
|
||||
public static function form(Form|Schema $schema): Schema
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->schema([
|
||||
|
@ -41,7 +41,7 @@ class ListBackups extends ListRecords
|
||||
|
||||
protected static bool $canCreateAnother = false;
|
||||
|
||||
public function form(Form|Schema $schema): Schema
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->schema([
|
||||
|
@ -27,7 +27,7 @@ class ListDatabases extends ListRecords
|
||||
{
|
||||
protected static string $resource = DatabaseResource::class;
|
||||
|
||||
public function form(Form|Schema $schema): Schema
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
/** @var Server $server */
|
||||
$server = Filament::getTenant();
|
||||
|
@ -48,7 +48,7 @@ class EditFiles extends Page
|
||||
|
||||
public ?array $data = [];
|
||||
|
||||
public function form(Form|Schema $schema): Schema
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
/** @var Server $server */
|
||||
$server = Filament::getTenant();
|
||||
|
@ -71,7 +71,7 @@ class ScheduleResource extends Resource
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function form(Form|Schema $schema): Schema
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->columns([
|
||||
|
Loading…
x
Reference in New Issue
Block a user