diff --git a/crm/Modules/Advertising/Models/LandingTemplateModel.php b/crm/Modules/Advertising/Models/LandingTemplateModel.php index 1fdde7c..8f0e048 100644 --- a/crm/Modules/Advertising/Models/LandingTemplateModel.php +++ b/crm/Modules/Advertising/Models/LandingTemplateModel.php @@ -216,7 +216,7 @@ class LandingTemplateModel /** * Gerar URL da imagem para Script Builder */ - public function generateImageUrl(string $brandSlug, string $templateType, string $countryCode, string $device = null, string $size = null): string + public function generateImageUrl(string $brandSlug, string $templateType, string $countryCode, ?string $device = null, ?string $size = null): string { $baseUrl = 'https://js.pmx.bet/images/'; diff --git a/crm/Modules/ErrorMonitoring/Models/ErrorLog.php b/crm/Modules/ErrorMonitoring/Models/ErrorLog.php index c689cfa..40fe3bc 100644 --- a/crm/Modules/ErrorMonitoring/Models/ErrorLog.php +++ b/crm/Modules/ErrorMonitoring/Models/ErrorLog.php @@ -42,7 +42,7 @@ class ErrorLog /** * Marcar erro como resolvido */ - public function resolveError(int $id, string $resolutionNotes = null): bool + public function resolveError(int $id, ?string $resolutionNotes = null): bool { try { $sql = "UPDATE error_logs SET status = 'resolved', resolved_at = NOW(), resolution_notes = ? WHERE id = ?"; @@ -56,7 +56,7 @@ class ErrorLog /** * Marcar todos os erros como resolvidos */ - public function resolveAllErrors(string $resolutionNotes = null): bool + public function resolveAllErrors(?string $resolutionNotes = null): bool { try { $sql = "UPDATE error_logs SET status = 'resolved', resolved_at = NOW(), resolution_notes = ? WHERE status = 'open'"; @@ -70,7 +70,7 @@ class ErrorLog /** * Marcar erro como ignorado */ - public function ignoreError(int $id, string $resolutionNotes = null): bool + public function ignoreError(int $id, ?string $resolutionNotes = null): bool { try { $sql = "UPDATE error_logs SET status = 'ignored', resolved_at = NOW(), resolution_notes = ? WHERE id = ?"; diff --git a/crm/Modules/Views/coming/soon.php b/crm/Modules/Views/coming/soon.php index 807eafb..8f10fa4 100644 --- a/crm/Modules/Views/coming/soon.php +++ b/crm/Modules/Views/coming/soon.php @@ -1,19 +1,17 @@ - $page_title, - 'description' => $page_description, - 'page_content' => function() { -?> - + $page_title, + 'description' => $page_description, + 'page_content' => function() { +?>
@@ -73,7 +71,7 @@ View::render('layouts/main.php', [

© - . + .

@@ -83,17 +81,18 @@ View::render('layouts/main.php', [
- + - + - - function() { - AssetManager::addFooterJs(View::asset('/assets/libs/particles.js/particles.js')); - AssetManager::addFooterJs(View::asset('/assets/js/pages/particles.app.js')); - } -]); -?> + + function() { + AssetManager::addFooterJs(View::asset('/assets/libs/particles.js/particles.js')); + AssetManager::addFooterJs(View::asset('/assets/js/pages/particles.app.js')); + } +]); +?>