aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BinaryFormat/Decoder.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/BinaryFormat/Decoder.php')
-rw-r--r--src/BinaryFormat/Decoder.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/BinaryFormat/Decoder.php b/src/BinaryFormat/Decoder.php
index ae6e9f2..4922482 100644
--- a/src/BinaryFormat/Decoder.php
+++ b/src/BinaryFormat/Decoder.php
@@ -293,11 +293,11 @@ final class Decoder
if ($b !== 0x60) {
throw new InvalidBinaryFormatException("functype");
}
- $args = $this->decodeResultType();
- $returns = $this->decodeResultType();
+ $params = $this->decodeResultType();
+ $results = $this->decodeResultType();
return new FuncType(
- $args,
- $returns,
+ $params,
+ $results,
);
}