From 00a3daa1f7bd081be015aa7ed79c8d4b4840a11c Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Mon, 31 Oct 2022 10:29:03 +0100 Subject: [PATCH 1/3] TASK: Fusion Prototypes add missing path declarations in `Renderer` and `Matcher` --- .../Resources/Private/Fusion/Prototypes/Matcher.fusion | 5 ++++- .../Resources/Private/Fusion/Prototypes/Renderer.fusion | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Neos.Fusion/Resources/Private/Fusion/Prototypes/Matcher.fusion b/Neos.Fusion/Resources/Private/Fusion/Prototypes/Matcher.fusion index dd68b30541e..1dfdeaba435 100644 --- a/Neos.Fusion/Resources/Private/Fusion/Prototypes/Matcher.fusion +++ b/Neos.Fusion/Resources/Private/Fusion/Prototypes/Matcher.fusion @@ -1,6 +1,9 @@ prototype(Neos.Fusion:Matcher) { @class = 'Neos\\Fusion\\FusionObjects\\MatcherImplementation' condition = false - type = null + renderer = null renderPath = null + type = null + element { + } } diff --git a/Neos.Fusion/Resources/Private/Fusion/Prototypes/Renderer.fusion b/Neos.Fusion/Resources/Private/Fusion/Prototypes/Renderer.fusion index 2bb236d73b6..6509e3845dd 100644 --- a/Neos.Fusion/Resources/Private/Fusion/Prototypes/Renderer.fusion +++ b/Neos.Fusion/Resources/Private/Fusion/Prototypes/Renderer.fusion @@ -1,6 +1,8 @@ prototype(Neos.Fusion:Renderer) { @class = 'Neos\\Fusion\\FusionObjects\\RendererImplementation' - type = null - renderPath = null renderer = null + renderPath = null + type = null + element { + } } From 0d9facf1b3fe3b7a80b960ce7375dd88b6e20bb2 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:53:22 +0100 Subject: [PATCH 2/3] TASK: BackendHelper add interfaceLanguage return type --- Neos.Neos/Classes/Fusion/Helper/BackendHelper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Neos.Neos/Classes/Fusion/Helper/BackendHelper.php b/Neos.Neos/Classes/Fusion/Helper/BackendHelper.php index 118fd36cd79..f96a4b4242c 100644 --- a/Neos.Neos/Classes/Fusion/Helper/BackendHelper.php +++ b/Neos.Neos/Classes/Fusion/Helper/BackendHelper.php @@ -31,6 +31,7 @@ class BackendHelper implements ProtectedContextAwareInterface * * Translation.id("mh").locale(Neos.Backend.interfaceLanguage()).translate() * + * @return string */ public function interfaceLanguage(): string { From d94eb2055ca93becd1ec4c462f8b89cb04c6c489 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:53:50 +0100 Subject: [PATCH 3/3] TASK: Correctly reference `Neos.Fusion:Debug.Console` in docs --- Neos.Neos/Documentation/References/NeosFusionReference.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Neos.Neos/Documentation/References/NeosFusionReference.rst b/Neos.Neos/Documentation/References/NeosFusionReference.rst index f833cf72cbe..ad9826979ce 100644 --- a/Neos.Neos/Documentation/References/NeosFusionReference.rst +++ b/Neos.Neos/Documentation/References/NeosFusionReference.rst @@ -308,9 +308,9 @@ Example:: # the initial value is not changed, so you can define the Debug prototype anywhere in your Fusion code -.. _Neos_Fusion__DebugConsole: +.. _Neos_Fusion__Debug_Console: -Neos.Fusion:DebugConsole +Neos.Fusion:Debug.Console ----------------- Wraps the given value with a script tag to print it to the browser console.