Skip to content

Commit 21f0ddd

Browse files
committed
fix(config): default Scribunto engine param to null
Otherwise, extensions that depend on Scribunto will overwrite the param when calling ->Scribunto().
1 parent b54afbc commit 21f0ddd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/MWCExtensions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ public function Screenplay(): self {
755755
public const SCRIBUNTO_ENGINE_LUASANDBOX = 2;
756756

757757
public function Scribunto(
758-
int $engine = self::SCRIBUNTO_ENGINE_LUASTANDALONE,
758+
?int $engine = null,
759759
array $engineConfOverrides = []
760760
): self {
761761
switch ( $engine ) {

0 commit comments

Comments
 (0)