From ab3ad041df32c5b0e302e69d9659f4ba52620ef7 Mon Sep 17 00:00:00 2001 From: sallyx Date: Mon, 25 Dec 2023 12:00:15 +0100 Subject: [PATCH] Update @home.texy Added missing parameter to encode method. --- neon/en/@home.texy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neon/en/@home.texy b/neon/en/@home.texy index c560bffaf2..7da64b1dc4 100644 --- a/neon/en/@home.texy +++ b/neon/en/@home.texy @@ -32,7 +32,7 @@ vendor/bin/neon-lint ``` -encode(mixed $value, bool $blockMode=false): string .[method] +encode(mixed $value, bool $blockMode=false, string $indentation = "\t"): string .[method] ------------------------------------------------------------- Returns `$value` converted to NEON. As the parameter `$blockMode` you can pass true, which will create multiline output. The parameter `$indentation` specifies the characters used for indentation (default is tab).