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

Argument 1 passed to ZendDeveloperTools\Listener\EventLoggingListenerAggregate::onCollectEvent() must be an instance of Zend\EventManager\Event #200

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TimeCollector::collectEvent() should use EventInterface as the type h…
…int.
  • Loading branch information
alex-patterson-webdev committed Oct 31, 2015
commit 7f2ada3f917f1ed58fdd12f9d67961c15d868605
4 changes: 2 additions & 2 deletions src/ZendDeveloperTools/Collector/TimeCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public function collect(MvcEvent $mvcEvent)
* Saves the current time in microseconds for a specific event.
*
* @param string $id
* @param Event $event
* @param EventInterface $event
*/
public function collectEvent($id, Event $event)
public function collectEvent($id, EventInterface $event)
{
$contextProvider = new EventContextProvider($event);
$context['time'] = microtime(true);
Expand Down