From 83dcd9bf08d6034806a1bd30948359b85729c805 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 5 Nov 2024 17:30:57 +0900 Subject: [PATCH] fixup! Update tests/009-rayaop-final.phpt --- tests/009-rayaop-final.phpt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/009-rayaop-final.phpt b/tests/009-rayaop-final.phpt index 6722e22..2cc60c5 100644 --- a/tests/009-rayaop-final.phpt +++ b/tests/009-rayaop-final.phpt @@ -24,7 +24,7 @@ class TestInterceptor implements Ray\Aop\MethodInterceptorInterface { method_intercept_init(); // Verify initialization -var_dump(method_intercept_enable()); +method_intercept_enable(true); method_intercept(FinalTestClass::class, 'finalMethod', new TestInterceptor()); @@ -43,4 +43,7 @@ method_intercept_enable(false); --EXPECT-- Before final method After final method -Result: Final method: test \ No newline at end of file +Result: Final method: test +Before final method +After final method +Null test: Final method: \ No newline at end of file