@@ -14,6 +14,9 @@ |
||
14 | 14 | */ |
15 | 15 | protected $eventFormatter; |
16 | 16 | |
17 | + /** |
|
18 | + * @param string[] $include |
|
19 | + */ |
|
17 | 20 | public function __construct($include = null) |
18 | 21 | { |
19 | 22 | $this->eventFormatter = new JSONLDEventFormatter($include); |
@@ -15,6 +15,9 @@ |
||
15 | 15 | |
16 | 16 | protected $includedProperties; |
17 | 17 | |
18 | + /** |
|
19 | + * @param string $filePath |
|
20 | + */ |
|
18 | 21 | public function __construct($filePath) |
19 | 22 | { |
20 | 23 | $this->f = fopen($filePath, 'w'); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | protected $i; |
23 | 23 | |
24 | 24 | /** |
25 | - * @param $filePath |
|
25 | + * @param string $filePath |
|
26 | 26 | */ |
27 | 27 | public function __construct($filePath) |
28 | 28 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @param Label[] $label |
|
74 | + * @param Label $label |
|
75 | 75 | * @return bool |
76 | 76 | */ |
77 | 77 | public function contains(Label $label) |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @param LabelCollection $labelCollection |
|
98 | + * @param LabelCollection $labelCollectionToMerge |
|
99 | 99 | * @return LabelCollection |
100 | 100 | */ |
101 | 101 | public function merge(LabelCollection $labelCollectionToMerge) |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param string $id |
45 | 45 | * A string uniquely identifying an event. |
46 | 46 | * |
47 | - * @return array |
|
47 | + * @return string|null |
|
48 | 48 | * An event array. |
49 | 49 | * |
50 | 50 | * @throws EventNotFoundException if an event can not be found for the given id |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Get the namespaced classname of the command to create. |
18 | - * @param type $className |
|
18 | + * @param string $className |
|
19 | 19 | * Name of the class |
20 | 20 | * @return string |
21 | 21 | */ |
@@ -12,7 +12,7 @@ |
||
12 | 12 | |
13 | 13 | /** |
14 | 14 | * @param Title $title |
15 | - * @param array $adresses |
|
15 | + * @param array $addresses |
|
16 | 16 | * @param array $phones |
17 | 17 | * @param array $emails |
18 | 18 | * @param array $urls |
@@ -50,10 +50,9 @@ |
||
50 | 50 | private $calendar; |
51 | 51 | |
52 | 52 | /** |
53 | - * @param string $eventId |
|
54 | 53 | * @param Title $title |
55 | - * @param string $location |
|
56 | 54 | * @param CalendarInterface $calendar |
55 | + * @param string $placeId |
|
57 | 56 | */ |
58 | 57 | public function __construct($placeId, Title $title, EventType $eventType, Address $address, CalendarInterface $calendar, $theme = null) |
59 | 58 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * @return mixed The object instance |
|
30 | + * @return BookingInfoUpdated The object instance |
|
31 | 31 | */ |
32 | 32 | public static function deserialize(array $data) |
33 | 33 | { |