Skip to content

Commit

Permalink
fixup! Update tests/009-rayaop-final.phpt
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Nov 5, 2024
1 parent 20a3779 commit 83dcd9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/009-rayaop-final.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand All @@ -43,4 +43,7 @@ method_intercept_enable(false);
--EXPECT--
Before final method
After final method
Result: Final method: test
Result: Final method: test
Before final method
After final method
Null test: Final method:

0 comments on commit 83dcd9b

Please sign in to comment.