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 3131 */
3232class RequestDataCollector extends DataCollector implements EventSubscriberInterface, LateDataCollectorInterface
3333{
34+ /**
35+ * @var \SplObjectStorage<Request, callable>
36+ */
3437 private \SplObjectStorage $ controllers ;
3538 private array $ sessionUsages = [];
3639 private ?RequestStack $ requestStack ;
Original file line number Diff line number Diff line change 2222class RouterDataCollector extends DataCollector
2323{
2424 /**
25- * @var \SplObjectStorage
25+ * @var \SplObjectStorage<Request, callable>
2626 */
2727 protected $ controllers ;
2828
Original file line number Diff line number Diff line change 1212namespace Symfony \Component \HttpKernel \EventListener ;
1313
1414use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
15+ use Symfony \Component \HttpFoundation \Request ;
1516use Symfony \Component \HttpFoundation \RequestMatcherInterface ;
1617use Symfony \Component \HttpFoundation \RequestStack ;
1718use Symfony \Component \HttpKernel \Event \ExceptionEvent ;
1819use Symfony \Component \HttpKernel \Event \ResponseEvent ;
1920use Symfony \Component \HttpKernel \Event \TerminateEvent ;
2021use Symfony \Component \HttpKernel \KernelEvents ;
22+ use Symfony \Component \HttpKernel \Profiler \Profile ;
2123use Symfony \Component \HttpKernel \Profiler \Profiler ;
2224
2325/**
@@ -34,9 +36,11 @@ class ProfilerListener implements EventSubscriberInterface
3436 private bool $ onlyException ;
3537 private bool $ onlyMainRequests ;
3638 private ?\Throwable $ exception = null ;
39+ /** @var \SplObjectStorage<Request, Profile> */
3740 private \SplObjectStorage $ profiles ;
3841 private RequestStack $ requestStack ;
3942 private ?string $ collectParameter ;
43+ /** @var \SplObjectStorage<Request, Request|null> */
4044 private \SplObjectStorage $ parents ;
4145
4246 /**
Original file line number Diff line number Diff line change 2525class Store implements StoreInterface
2626{
2727 protected $ root ;
28+ /** @var \SplObjectStorage<Request, string> */
2829 private \SplObjectStorage $ keyCache ;
29-
30- /**
31- * @var array<string, resource>
32- */
30+ /** @var array<string, resource> */
3331 private array $ locks = [];
3432
3533 /**
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface KernelInterface extends HttpKernelInterface
2727 /**
2828 * Returns an array of bundles to register.
2929 *
30- * @return iterable| BundleInterface[]
30+ * @return iterable< BundleInterface>
3131 */
3232 public function registerBundles (): iterable ;
3333
You can’t perform that action at this time.
0 commit comments