Skip to content

Commit

Permalink
Fix aop repeat execute
Browse files Browse the repository at this point in the history
  • Loading branch information
stelin committed May 31, 2019
1 parent 807a51d commit 54e00ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aop/src/Aop.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static function register(array $beanNames, string $className, string $met
$isExclude = $isExcludeBean || $isExcludeAnnotation || $isExcludeExecution;

if ($isInclude && !$isExclude) {
self::$mapping[$className][$method][] = $aspect['advice'];
self::$mapping[$className][$method][$aspectClass] = $aspect['advice'];
}
}
}
Expand Down

0 comments on commit 54e00ac

Please sign in to comment.