File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 31
31
*/
32
32
class RequestDataCollector extends DataCollector implements EventSubscriberInterface, LateDataCollectorInterface
33
33
{
34
+ /**
35
+ * @var \SplObjectStorage<Request, callable>
36
+ */
34
37
private \SplObjectStorage $ controllers ;
35
38
private array $ sessionUsages = [];
36
39
private ?RequestStack $ requestStack ;
Original file line number Diff line number Diff line change 22
22
class RouterDataCollector extends DataCollector
23
23
{
24
24
/**
25
- * @var \SplObjectStorage
25
+ * @var \SplObjectStorage<Request, callable>
26
26
*/
27
27
protected $ controllers ;
28
28
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \HttpKernel \EventListener ;
13
13
14
14
use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
15
+ use Symfony \Component \HttpFoundation \Request ;
15
16
use Symfony \Component \HttpFoundation \RequestMatcherInterface ;
16
17
use Symfony \Component \HttpFoundation \RequestStack ;
17
18
use Symfony \Component \HttpKernel \Event \ExceptionEvent ;
18
19
use Symfony \Component \HttpKernel \Event \ResponseEvent ;
19
20
use Symfony \Component \HttpKernel \Event \TerminateEvent ;
20
21
use Symfony \Component \HttpKernel \KernelEvents ;
22
+ use Symfony \Component \HttpKernel \Profiler \Profile ;
21
23
use Symfony \Component \HttpKernel \Profiler \Profiler ;
22
24
23
25
/**
@@ -34,9 +36,11 @@ class ProfilerListener implements EventSubscriberInterface
34
36
private bool $ onlyException ;
35
37
private bool $ onlyMainRequests ;
36
38
private ?\Throwable $ exception = null ;
39
+ /** @var \SplObjectStorage<Request, Profile> */
37
40
private \SplObjectStorage $ profiles ;
38
41
private RequestStack $ requestStack ;
39
42
private ?string $ collectParameter ;
43
+ /** @var \SplObjectStorage<Request, Request|null> */
40
44
private \SplObjectStorage $ parents ;
41
45
42
46
/**
Original file line number Diff line number Diff line change 25
25
class Store implements StoreInterface
26
26
{
27
27
protected $ root ;
28
+ /** @var \SplObjectStorage<Request, string> */
28
29
private \SplObjectStorage $ keyCache ;
29
-
30
- /**
31
- * @var array<string, resource>
32
- */
30
+ /** @var array<string, resource> */
33
31
private array $ locks = [];
34
32
35
33
/**
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface KernelInterface extends HttpKernelInterface
27
27
/**
28
28
* Returns an array of bundles to register.
29
29
*
30
- * @return iterable| BundleInterface[]
30
+ * @return iterable< BundleInterface>
31
31
*/
32
32
public function registerBundles (): iterable ;
33
33
You can’t perform that action at this time.
0 commit comments