Skip to content

Commit 2d733d1

Browse files
committed
Revert "fix: Fix magic method names"
This reverts commit 4592606.
1 parent 4592606 commit 2d733d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/macros/src/parsing.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const MAGIC_METHOD: [&'static str; 17] = [
44
"__construct",
55
"__destruct",
66
"__call",
7-
"__callStatic",
7+
"__call_static",
88
"__get",
99
"__set",
1010
"__isset",
@@ -13,11 +13,11 @@ const MAGIC_METHOD: [&'static str; 17] = [
1313
"__wakeup",
1414
"__serialize",
1515
"__unserialize",
16-
"__toString",
16+
"__to_string",
1717
"__invoke",
1818
"__set_state",
1919
"__clone",
20-
"__debuginfo",
20+
"__debug_info",
2121
];
2222

2323
#[derive(Debug, FromMeta)]

0 commit comments

Comments
 (0)