@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param \Google_Service_Calendar_Event $googleEvent |
30 | - * @param $calendarId |
|
30 | + * @param null|string $calendarId |
|
31 | 31 | * |
32 | 32 | * @return static |
33 | 33 | */ |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | * @param array $properties |
46 | 46 | * @param string|null $calendarId |
47 | 47 | * |
48 | - * @return mixed |
|
48 | + * @return Event |
|
49 | 49 | */ |
50 | 50 | public static function create(array $properties, string $calendarId = null, $optParams = []) |
51 | 51 | { |
@@ -18,6 +18,9 @@ |
||
18 | 18 | return self::createCalendarClient($service, $calendarId); |
19 | 19 | } |
20 | 20 | |
21 | + /** |
|
22 | + * @param string $pathToCredentials |
|
23 | + */ |
|
21 | 24 | public static function createAuthenticatedGoogleClient($pathToCredentials): Google_Client |
22 | 25 | { |
23 | 26 | $client = new Google_Client; |