Skip to content

Commit

Permalink
Add some type hint for SF 6+
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Oct 28, 2024
1 parent 4517c70 commit 675f2bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OkvpnDatadogBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct()
/**
* {@inheritdoc}
*/
public function boot()
public function boot(): void
{
if (null === $this->startTime) {
$this->startTime = microtime(true);
Expand All @@ -34,15 +34,15 @@ public function boot()
/**
* {@inheritdoc}
*/
public function shutdown()
public function shutdown(): void
{
$this->startTime = null;
}

/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new SqlLoggerPass(['default']));
$container->addCompilerPass(new PushDatadogHandlerPass());
Expand Down

0 comments on commit 675f2bf

Please sign in to comment.