Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
bakura10 committed Dec 5, 2013
1 parent 25dd7c2 commit 23facdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZfrCors/Mvc/CorsRequestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct(CorsService $corsService)
public function attach(EventManagerInterface $events)
{
// Preflight can be handled during the route event, and should return early
$this->listeners[] = $events->attach(MvcEvent::EVENT_ROUTE, array($this, 'onCorsPreflight'), -1);
$this->listeners[] = $events->attach(MvcEvent::EVENT_ROUTE, array($this, 'onCorsPreflight'), -1);

// "in"flight should be handled during "FINISH" to ensure we operate on the actual route being returned
$this->listeners[] = $events->attach(MvcEvent::EVENT_FINISH, array($this, 'onCorsRequest'), 100);
Expand Down

0 comments on commit 23facdc

Please sign in to comment.