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

Commit

Permalink
Merge remote-tracking branch 'zf2/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,10 @@ public function attach($event, $callback = null, $priority = 1)
* methods.
*
* @param ListenerAggregate $aggregate
* @param null|int $priority If provided, a suggested priority for the aggregate to use
* @param int $priority If provided, a suggested priority for the aggregate to use
* @return mixed return value of {@link ListenerAggregate::attach()}
*/
public function attachAggregate(ListenerAggregate $aggregate, $priority = null)
public function attachAggregate(ListenerAggregate $aggregate, $priority = 1)
{
return $aggregate->attach($this, $priority);
}
Expand Down

0 comments on commit e4d7a5a

Please sign in to comment.