File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/Symfony/Component/HttpKernel Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class LocaleAwareListener implements EventSubscriberInterface
29
29
private $ requestStack ;
30
30
31
31
/**
32
- * @param LocaleAwareInterface[] $localeAwareServices
32
+ * @param iterable<mixed, LocaleAwareInterface> $localeAwareServices
33
33
*/
34
34
public function __construct (iterable $ localeAwareServices , RequestStack $ requestStack )
35
35
{
Original file line number Diff line number Diff line change @@ -26,7 +26,11 @@ class Store implements StoreInterface
26
26
{
27
27
protected $ root ;
28
28
private $ keyCache ;
29
- private $ locks ;
29
+
30
+ /**
31
+ * @var array<string, resource>
32
+ */
33
+ private $ locks = [];
30
34
31
35
/**
32
36
* @throws \RuntimeException
@@ -38,7 +42,6 @@ public function __construct(string $root)
38
42
throw new \RuntimeException (sprintf ('Unable to create the store directory (%s). ' , $ this ->root ));
39
43
}
40
44
$ this ->keyCache = new \SplObjectStorage ();
41
- $ this ->locks = [];
42
45
}
43
46
44
47
/**
You can’t perform that action at this time.
0 commit comments