Skip to content

Commit 50a1989

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Console] Restore psr/log >= 3.0 conflict [Security] Make the abstract Voter class implement CacheableVoterInterface Add generic types to traversable implementations [Security] Fix TypeError message [Security] Fix deprecation layer [FrameworkBundle] Add completion for workflow:dump Fix cancel button Fix misleading error on missing provider with authenticator manager Don't limit retries of toolbar loading
2 parents 07c4bdc + 97b844c commit 50a1989

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Extension/ProfilerExtension.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Bridge\Twig\Extension;
1313

1414
use Symfony\Component\Stopwatch\Stopwatch;
15+
use Symfony\Component\Stopwatch\StopwatchEvent;
1516
use Twig\Extension\ProfilerExtension as BaseProfilerExtension;
1617
use Twig\Profiler\Profile;
1718

@@ -21,6 +22,10 @@
2122
final class ProfilerExtension extends BaseProfilerExtension
2223
{
2324
private ?Stopwatch $stopwatch;
25+
26+
/**
27+
* @var \SplObjectStorage<Profile, StopwatchEvent>
28+
*/
2429
private \SplObjectStorage $events;
2530

2631
public function __construct(Profile $profile, Stopwatch $stopwatch = null)

0 commit comments

Comments
 (0)