Bug #8554
AOP interceptor removes default value from method argument
Status:
Resolved
Priority:
Must have
Assignee:
Category:
AOP
Target version:
Start date:
2010-08-16
Due date:
% Done:
100%
Estimated time:
2.00 h
PHP Version:
Has patch:
Complexity:
Description
When activating an AOP interceptor for a method
public function indexAction(array $someArray = array)
I'm receiving following runtime notice:
Declaration of F3\Viewhelpertest\Controller\StandardController_AOPProxy_Development::indexAction() should be compatible with that of F3\Viewhelpertest\Controller\StandardController::indexAction()
The reason is, that in the AOP proxy class the declaration looks like
public function indexAction(array $someArray)