Skip to content

Commit b485b95

Browse files
committed
Add namespace to method_intercept.php and remove unused use statement
The namespace Ray\Aop was added to the method_intercept.php file to align it with the rest of the project's structure. Additionally, an unused use statement referencing MethodInterceptorInterface was removed from Aspect.php to clean up the code.
1 parent e17771f commit b485b95

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src-mock/method_intercept.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace Ray\Aop;
4+
35
if (! function_exists('method_intercept')) {
46
/**
57
* @return mixed

src/Aspect.php

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Ray\Aop;
66

7-
use MethodInterceptorInterface;
87
use RecursiveDirectoryIterator;
98
use RecursiveIteratorIterator;
109
use ReflectionClass;

0 commit comments

Comments
 (0)