diff --git a/system/src/Grav/Common/Flex/Types/Users/UserObject.php b/system/src/Grav/Common/Flex/Types/Users/UserObject.php index b76cc5742..8756d832e 100644 --- a/system/src/Grav/Common/Flex/Types/Users/UserObject.php +++ b/system/src/Grav/Common/Flex/Types/Users/UserObject.php @@ -329,7 +329,7 @@ class UserObject extends FlexObject implements UserInterface, \Countable * @param int $indent The amount of spaces to use for indentation of nested nodes. * @return string A YAML string representing the object. */ - public function toYaml($inline = 5, $indent = 2): string + public function toYaml($inline = 5, $indent = 2) { $yaml = new YamlFormatter(['inline' => $inline, 'indent' => $indent]);