File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,11 @@ parameters:
260
260
count : 1
261
261
path : src/Tracing/HttpClient/TraceableResponseForV6.php
262
262
263
+ -
264
+ message : " #^Constructor of class Sentry\\\\ SentryBundle\\\\ Twig\\\\ SentryExtension has an unused parameter \\ $hub\\ .$#"
265
+ count : 1
266
+ path : src/Twig/SentryExtension.php
267
+
263
268
-
264
269
message : " #^Cannot access offset 'profiles_sample_rate' on mixed\\ .$#"
265
270
count : 1
Original file line number Diff line number Diff line change 4
4
5
5
namespace Sentry \SentryBundle \Twig ;
6
6
7
+ use Sentry \State \HubInterface ;
7
8
use Twig \Extension \AbstractExtension ;
8
9
use Twig \TwigFunction ;
9
10
12
13
13
14
final class SentryExtension extends AbstractExtension
14
15
{
16
+ /**
17
+ * @param HubInterface $hub The current hub
18
+ */
19
+ public function __construct (HubInterface $ hub = null )
20
+ {
21
+ }
22
+
15
23
/**
16
24
* {@inheritdoc}
17
25
*/
You can’t perform that action at this time.
0 commit comments