aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Document.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/vobject/lib/Document.php')
-rw-r--r--vendor/sabre/vobject/lib/Document.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/sabre/vobject/lib/Document.php b/vendor/sabre/vobject/lib/Document.php
index 14a77c911..0cb2e0978 100644
--- a/vendor/sabre/vobject/lib/Document.php
+++ b/vendor/sabre/vobject/lib/Document.php
@@ -160,7 +160,7 @@ abstract class Document extends Component
public function createComponent($name, array $children = null, $defaults = true)
{
$name = strtoupper($name);
- $class = Component::class;
+ $class = 'Sabre\\VObject\\Component';
if (isset(static::$componentMap[$name])) {
$class = static::$componentMap[$name];
@@ -258,7 +258,7 @@ abstract class Document extends Component
if (isset(static::$propertyMap[$propertyName])) {
return static::$propertyMap[$propertyName];
} else {
- return Property\Unknown::class;
+ return 'Sabre\\VObject\\Property\\Unknown';
}
}
}