File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class_exists(HttpHeaderSerializer::class);
29
29
*/
30
30
class AddLinkHeaderListener implements EventSubscriberInterface
31
31
{
32
- private $ serializer ;
32
+ private HttpHeaderSerializer $ serializer ;
33
33
34
34
public function __construct ()
35
35
{
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class GenericLinkProvider implements EvolvableLinkProviderInterface
19
19
/**
20
20
* @var LinkInterface[]
21
21
*/
22
- private $ links = [];
22
+ private array $ links = [];
23
23
24
24
/**
25
25
* @param LinkInterface[] $links
Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ class Link implements EvolvableLinkInterface
38
38
// Extra relations
39
39
public const REL_MERCURE = 'mercure ' ;
40
40
41
- private $ href = '' ;
41
+ private string $ href = '' ;
42
42
43
43
/**
44
44
* @var string[]
45
45
*/
46
- private $ rel = [];
46
+ private array $ rel = [];
47
47
48
48
/**
49
49
* @var array<string, string|bool|string[]>
50
50
*/
51
- private $ attributes = [];
51
+ private array $ attributes = [];
52
52
53
53
public function __construct (string $ rel = null , string $ href = '' )
54
54
{
You can’t perform that action at this time.
0 commit comments