aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/StackOverflowException.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/StackOverflowException.php')
-rw-r--r--src/WebAssembly/Execution/StackOverflowException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WebAssembly/Execution/StackOverflowException.php b/src/WebAssembly/Execution/StackOverflowException.php
index c5ff3a4..4a18aa7 100644
--- a/src/WebAssembly/Execution/StackOverflowException.php
+++ b/src/WebAssembly/Execution/StackOverflowException.php
@@ -12,7 +12,7 @@ final class StackOverflowException extends RuntimeException
public function __construct(
string $message = 'Stack overflow',
int $code = 0,
- Throwable $previous = null,
+ ?Throwable $previous = null,
) {
parent::__construct($message, $code, $previous);
}