Is there an award for this?

This commit is contained in:
2025-05-12 14:35:00 -04:00
parent b9f4b4500d
commit 7f7af2f3b4
14 changed files with 622 additions and 33 deletions

View File

@@ -4,10 +4,10 @@ declare(strict_types=1);
namespace Siteworxpro\App\Controllers;
use Illuminate\Support\Facades\Log;
use League\Route\Http\Exception\NotFoundException;
use Nyholm\Psr7\ServerRequest;
use Psr\Http\Message\ResponseInterface;
use Siteworxpro\App\Facades\Logger;
use Siteworxpro\App\Traefik\ProtocolEnum;
abstract class Controller implements ControllerInterface
@@ -19,7 +19,7 @@ abstract class Controller implements ControllerInterface
try {
return ProtocolEnum::fromString($protocol);
} catch (\InvalidArgumentException $e) {
Log::error($e->getMessage());
Logger::error($e->getMessage());
return ProtocolEnum::HTTP;
}