Skip to content

Conversation

@Xyli0
Copy link
Contributor

@Xyli0 Xyli0 commented Dec 16, 2025

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}

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}
@Fan2Shrek Fan2Shrek merged commit 687a0ca into php:master Dec 16, 2025
1 check passed
@Fan2Shrek
Copy link
Contributor

Nice catch!
Thank you :)

@Xyli0 Xyli0 deleted the patch-2 branch December 16, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants