Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Fixed invalid signature in Zend\Session\ValidatorChain
Browse files Browse the repository at this point in the history
- Hadn't been updated to latest signature of EventManagerInterface::attach()
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ValidatorChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct(Storage $storage)
* @param int $priority
* @return \Zend\Stdlib\CallbackHandler
*/
public function attach($event, $callback, $priority = 1)
public function attach($event, $callback = null, $priority = 1)
{
$context = null;
if ($callback instanceof Validator) {
Expand Down

0 comments on commit 4a4065c

Please sign in to comment.