From 0ddd8f5760f3a7f0bfedccb6fea9491c2138dcd4 Mon Sep 17 00:00:00 2001 From: Edouard Peyre Date: Tue, 16 Dec 2025 15:15:06 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20Correct=20trait=20name=20in=20Exemple=20?= =?UTF-8?q?#11=20Propri=C3=A9t=C3=A9s=20statiques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed trait declaration from "StaticExample" to "T" to match usage. Problem: The example declared trait "StaticExample" but referenced trait "T" in the class definition, causing a fatal error: Fatal error: Uncaught Error: Trait "T" not found in script:8 Stack trace: #0 {main} --- language/oop5/traits.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/oop5/traits.xml b/language/oop5/traits.xml index 1146de31a3..f1757b02e4 100644 --- a/language/oop5/traits.xml +++ b/language/oop5/traits.xml @@ -482,7 +482,7 @@ Doing something