- Quick fix for the parse() method of Picea's extension

This commit is contained in:
mcndave committed 2023-02-02 19:40:38 +00:00
1 parent b3936aa6e1
commit 86e641b856
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -21,7 +21,8 @@ class Extension implements \Picea\Extension\Extension
$context->pushFunction("taxus", [ $this, 'taxus' ]); $context->pushFunction("taxus", [ $this, 'taxus' ]);
} }
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token) { public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token, array $options = []) : string
{
return ""; return "";
} }
+1 -1
View File
@@ -8,7 +8,7 @@ class Privilege
public string $description; public string $description;
public /* string|Callable|null */ $error; public mixed $error;
public $success; public $success;