From 46e0b08de481f5f78c648a3c56b7da39b91b37e6 Mon Sep 17 00:00:00 2001
From: Christian Alexander Wolf <mail@cawolf.de>
Date: Thu, 28 May 2020 11:54:02 +0200
Subject: [PATCH] fix: symfony flex bundle extension

---
 OpentracingBundle.php | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/OpentracingBundle.php b/OpentracingBundle.php
index fb7f3fd..2a21a4b 100644
--- a/OpentracingBundle.php
+++ b/OpentracingBundle.php
@@ -4,6 +4,16 @@
 
 namespace Auxmoney\OpentracingBundle;
 
-final class OpentracingBundle extends AbstractOpentracingBundle
+use Auxmoney\OpentracingBundle\DependencyInjection\PSR18CompilerPass;
+use Symfony\Component\DependencyInjection\ContainerBuilder;
+use Symfony\Component\HttpKernel\Bundle\Bundle;
+
+final class OpentracingBundle extends Bundle
 {
+    public function build(ContainerBuilder $container): void
+    {
+        parent::build($container);
+
+        $container->addCompilerPass(new PSR18CompilerPass());
+    }
 }