summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/icalevent.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/inc/icalevent.inc.php')
-rw-r--r--modules-available/locationinfo/inc/icalevent.inc.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/modules-available/locationinfo/inc/icalevent.inc.php b/modules-available/locationinfo/inc/icalevent.inc.php
index 0c234f48..c5aea349 100644
--- a/modules-available/locationinfo/inc/icalevent.inc.php
+++ b/modules-available/locationinfo/inc/icalevent.inc.php
@@ -153,10 +153,10 @@ class ICalEvent
/**
* Magic getter method
*
- * @param string $additionalPropertyName
+ * @param string $additionalPropertyName
* @return mixed
*/
- public function __get($additionalPropertyName)
+ public function __get(string $additionalPropertyName)
{
if (array_key_exists($additionalPropertyName, $this->additionalProperties)) {
return $this->additionalProperties[$additionalPropertyName];
@@ -167,11 +167,8 @@ class ICalEvent
/**
* Magic isset method
- *
- * @param string $name
- * @return boolean
*/
- public function __isset($name)
+ public function __isset(string $name): bool
{
return is_null($this->$name) === false;
}