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);
2929 */
3030class AddLinkHeaderListener implements EventSubscriberInterface
3131{
32- private $ serializer ;
32+ private HttpHeaderSerializer $ serializer ;
3333
3434 public function __construct ()
3535 {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class GenericLinkProvider implements EvolvableLinkProviderInterface
1919 /**
2020 * @var LinkInterface[]
2121 */
22- private $ links = [];
22+ private array $ links = [];
2323
2424 /**
2525 * @param LinkInterface[] $links
Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ class Link implements EvolvableLinkInterface
3838 // Extra relations
3939 public const REL_MERCURE = 'mercure ' ;
4040
41- private $ href = '' ;
41+ private string $ href = '' ;
4242
4343 /**
4444 * @var string[]
4545 */
46- private $ rel = [];
46+ private array $ rel = [];
4747
4848 /**
4949 * @var array<string, string|bool|string[]>
5050 */
51- private $ attributes = [];
51+ private array $ attributes = [];
5252
5353 public function __construct (string $ rel = null , string $ href = '' )
5454 {
You can’t perform that action at this time.
0 commit comments