diff --git a/src/Generators/Ics.php b/src/Generators/Ics.php index 5e0fd7d..887f0dc 100644 --- a/src/Generators/Ics.php +++ b/src/Generators/Ics.php @@ -14,9 +14,12 @@ class Ics implements Generator protected $dateFormat = 'Ymd'; protected $dateTimeFormat = 'e:Ymd\THis'; - /** @var array */ + /** @var array */ protected $options = []; + /** + * @param array $options + */ public function __construct(array $options = []) { $this->options = $options; diff --git a/src/Link.php b/src/Link.php index d2147e6..56ab3c3 100644 --- a/src/Link.php +++ b/src/Link.php @@ -114,6 +114,10 @@ public function google(): string return $this->formatWith(new Google()); } + /** + * @param array $options + * @return string + */ public function ics(array $options = []): string { return $this->formatWith(new Ics($options));