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 $ controllers ;
35
38
private $ sessionUsages = [];
36
39
private $ 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
protected $ onlyException ;
35
37
protected $ onlyMainRequests ;
36
38
protected $ exception ;
39
+ /** @var \SplObjectStorage<Request, Profile> */
37
40
protected $ profiles ;
38
41
protected $ requestStack ;
39
42
protected $ collectParameter ;
43
+ /** @var \SplObjectStorage<Request, Request|null> */
40
44
protected $ 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 $ keyCache ;
29
-
30
- /**
31
- * @var array<string, resource>
32
- */
30
+ /** @var array<string, resource> */
33
31
private $ locks = [];
34
32
35
33
/**
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ interface KernelInterface extends HttpKernelInterface
31
31
/**
32
32
* Returns an array of bundles to register.
33
33
*
34
- * @return iterable| BundleInterface[]
34
+ * @return iterable< BundleInterface>
35
35
*/
36
36
public function registerBundles ();
37
37
You can’t perform that action at this time.
0 commit comments