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

Commit

Permalink
Merge branch 'master' of git://git.zendframework.com/zf
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahar Evron committed Sep 25, 2011
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ValidatorChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(Storage $storage)
}

/**
* Attach a handler to the session validator chain
* Attach a listener to the session validator chain
*
* @param string $event
* @param callback $context
Expand All @@ -86,8 +86,8 @@ public function attach($event, $callback, $priority = 1)
$this->getStorage()->setMetadata('_VALID', array($name => $data));
}

$handle = parent::attach($event, $callback, $priority);
return $handle;
$listener = parent::attach($event, $callback, $priority);
return $listener;
}

/**
Expand Down

0 comments on commit 1416ef3

Please sign in to comment.