Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Eliminated unnecessary assignment

  • Loading branch information...
commit af26d85dafa3feb0aa15c3320181a0c4158b81b9 1 parent 3e1420b
Doug Hurst authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 examples/example1/example1b.php
View
4 examples/example1/example1b.php
@@ -20,11 +20,9 @@
require_once 'Position.php';
require_once 'Welcomer.php';
-$router = new \Tracks\EventHandler\ConfigBasedRouter('events.ini');
-
$repository = new \Tracks\EventStore\Repository(
new \Tracks\EventStore\EventStorage\Memory,
- $router,
+ new \Tracks\EventHandler\ConfigBasedRouter('events.ini'),
new \Tracks\EventStore\SnapshotStorage\Memory
);
Please sign in to comment.
Something went wrong with that request. Please try again.