Skip to content

Commit 371e18f

Browse files
committed
Update Service.php
1 parent 19b8dde commit 371e18f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Service.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Service
2525
/**
2626
* @throws VDFException
2727
*/
28-
public function decode(string $text): Fluent
28+
public function decode(string $text): array
2929
{
3030
// detect and convert utf-16, utf-32 and convert to utf8
3131
if (str_starts_with($text, "\xFE\xFF")) {
@@ -123,7 +123,7 @@ public function decode(string $text): Fluent
123123
throw new VDFException("Open parentheses somewhere");
124124
}
125125

126-
return fluent($arr);
126+
return $arr;
127127
}
128128

129129
public function encode(Arrayable|array $arr, bool $pretty = false): ?string

0 commit comments

Comments
 (0)