Completed
Pull Request — master (#98)
by
unknown
01:12
created
src/Event.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\GoogleCalendar;
4 4
 
5
-use DateTime;
6 5
 use Carbon\Carbon;
6
+use DateTime;
7 7
 use Google_Service_Calendar_Event;
8
-use Illuminate\Support\Collection;
9 8
 use Google_Service_Calendar_EventDateTime;
9
+use Illuminate\Support\Collection;
10 10
 
11 11
 class Event
12 12
 {
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param \Google_Service_Calendar_Event $googleEvent
36
-     * @param $calendarId
36
+     * @param null|string $calendarId
37 37
      *
38 38
      * @return static
39 39
      */
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @param array       $properties
52 52
      * @param string|null $calendarId
53 53
      *
54
-     * @return mixed
54
+     * @return Event
55 55
      */
56 56
     public static function create(array $properties, string $calendarId = null, $optParams = [])
57 57
     {
Please login to merge, or discard this patch.
src/GoogleCalendar.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\GoogleCalendar;
4 4
 
5
-use DateTime;
6 5
 use Carbon\Carbon;
6
+use DateTime;
7 7
 use Google_Service_Calendar;
8 8
 use Google_Service_Calendar_Event;
9 9
 
Please login to merge, or discard this patch.