view($user, $webhook->schema); } public function create(User $user, FormSchema $schema): bool { return app(FormSchemaPolicy::class)->update($user, $schema); } public function update(User $user, FormSchemaWebhook $webhook): bool { return app(FormSchemaPolicy::class)->update($user, $webhook->schema); } public function delete(User $user, FormSchemaWebhook $webhook): bool { return app(FormSchemaPolicy::class)->update($user, $webhook->schema); } public function test(User $user, FormSchemaWebhook $webhook): bool { return $this->update($user, $webhook); } }