Skip to content

Commit

Permalink
Fixes #6865 Container V4 service provider error about providing (opti…
Browse files Browse the repository at this point in the history
…ons_debug) service (#6902)

Co-authored-by: Mathieu Lamiot <[email protected]>
  • Loading branch information
Khadreal and MathieuLamiot authored Aug 30, 2024
1 parent 7999ed2 commit 1d52f9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/Engine/Debug/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class ServiceProvider extends AbstractServiceProvider implements BootableService
*/
protected $provides = [
'debug_subscriber',
'options_debug',
];

/**
Expand Down Expand Up @@ -48,6 +47,8 @@ public function boot(): void {
return;
}

$this->provides[] = 'options_debug';

foreach ( $this->services as $service ) {
$this->provides[] = $service['service'];
}
Expand Down

0 comments on commit 1d52f9d

Please sign in to comment.