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

Commit

Permalink
Merge pull request #158 from weierophinney/hotfix/zf-apigility-56
Browse files Browse the repository at this point in the history
#157 breaks compatibility with current Zend\Session
  • Loading branch information
Ocramius committed Jul 11, 2014
2 parents 4c222bb + 0e0a991 commit a9244b9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,10 @@ public function onCollectEvent(Event $event)
foreach ($this->collectors as $collector) {
$collector->collectEvent('application', $event);
}

// @TODO workaround, to be removed when https://github.com/zendframework/zf2/pull/6147 is fixed
// Returns a "truthy" value, but not boolean true, to ensure that cases such as https://github.com/zfcampus/zf-apigility/issues/56
// continue to work correctly as well.
return 1;
}
}

0 comments on commit a9244b9

Please sign in to comment.