Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added default parameter to reach interface compatibility

  • Loading branch information...
commit c7ba9c381e276493c155b5cf5335a117dd993cd2 1 parent 811f652
@Matthimatiker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/AspectPHP/Manager/Standard.php
View
2  library/AspectPHP/Manager/Standard.php
@@ -43,7 +43,7 @@ class AspectPHP_Manager_Standard implements AspectPHP_Manager
* @param AspectPHP_Aspect $aspect
* @param string $pointcut
*/
- public function register(AspectPHP_Aspect $aspect, $pointcut)
+ public function register(AspectPHP_Aspect $aspect, $pointcut = null)
{
if (!isset($this->aspects[$pointcut])) {
$this->aspects[$pointcut] = array();
Please sign in to comment.
Something went wrong with that request. Please try again.