Skip to content

Commit 41fd6e0

Browse files
committed
Fix return type
1 parent 22d2b3c commit 41fd6e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/formdata/FormData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function hasKey(string $key): bool {
4141
/**
4242
* @throws FormDataException
4343
*/
44-
public function getValue(string $key): string {
44+
public function getValue(string $key): string|array {
4545
if (!$this->hasKey($key)) {
4646
throw new FormDataException(sprintf('No such key: %s', $key));
4747
}

0 commit comments

Comments
 (0)