From fea22e0409cf370a3958d62eb68f1043bc9b64da Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Mon, 21 Sep 2020 10:40:52 +0300 Subject: [PATCH] Remove typehint from UserObject --- system/src/Grav/Common/Flex/Types/Users/UserObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);