@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Factory method to create a new event. |
82 | 82 | * |
83 | - * @param $eventId |
|
83 | + * @param string $eventId |
|
84 | 84 | * @param Title $title |
85 | 85 | * @param EventType $eventType |
86 | 86 | * @param Location $location |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | if (!is_string($itemId)) { |
21 | 21 | throw new \InvalidArgumentException( |
22 | - 'Expected itemId to be a string, received ' . gettype($itemId) |
|
22 | + 'Expected itemId to be a string, received '.gettype($itemId) |
|
23 | 23 | ); |
24 | 24 | } |
25 | 25 |