Skip to content

Commit f456d35

Browse files
committed
Adjust types in lib/Writer.php
1 parent 0a65cf7 commit f456d35

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Writer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ class Writer
1818
{
1919
/**
2020
* Serializes a vCard or iCalendar object.
21+
*
22+
* @param Component<int, mixed> $component
2123
*/
2224
public static function write(Component $component): string
2325
{
@@ -26,6 +28,8 @@ public static function write(Component $component): string
2628

2729
/**
2830
* Serializes a jCal or jCard object.
31+
*
32+
* @param Component<int, mixed> $component
2933
*/
3034
public static function writeJson(Component $component, int $options = 0): string
3135
{
@@ -34,6 +38,8 @@ public static function writeJson(Component $component, int $options = 0): string
3438

3539
/**
3640
* Serializes a xCal or xCard object.
41+
*
42+
* @param Component<int, mixed> $component
3743
*/
3844
public static function writeXml(Component $component): string
3945
{

0 commit comments

Comments
 (0)