chore: Bootstrap fix

This commit is contained in:
2025-10-31 10:35:35 +01:00
parent de8fed8711
commit fc81379575
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ $clock = new SystemClock();
$highResClock = new SystemHighResolutionClock(); $highResClock = new SystemHighResolutionClock();
$memoryMonitor = new MemoryMonitor(); $memoryMonitor = new MemoryMonitor();
$collector = new EnhancedPerformanceCollector($clock, $highResClock, $memoryMonitor, enabled: true); $collector = new EnhancedPerformanceCollector($clock, $highResClock, $memoryMonitor, enabled: true);
$bootstrapper = new AppBootstrapper($basePath, $collector, $memoryMonitor); $bootstrapper = new AppBootstrapper($basePath, $collector);
$app = $bootstrapper->bootstrapWeb(); $app = $bootstrapper->bootstrapWeb();
// Anwendung ausführen // Anwendung ausführen

View File

@@ -41,7 +41,7 @@ final readonly class AppBootstrapper
public function __construct( public function __construct(
private string $basePath, private string $basePath,
private PerformanceCollectorInterface $collector, private PerformanceCollectorInterface $collector,
private MemoryMonitor $memoryMonitor, private MemoryMonitor $memoryMonitor = new MemoryMonitor,
#private array $config = [], #private array $config = [],
) { ) {
$this->container = new DefaultContainer(); $this->container = new DefaultContainer();