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 'weierophinney/hotfix/view-strategy-prio…
Browse files Browse the repository at this point in the history
…rity'
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventManager.php
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 d34ef1c

Please sign in to comment.