Skip to content

Commit

Permalink
πŸ› fix factory API changed
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfog committed May 12, 2019
1 parent 4192be0 commit 7d583e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RoadRunnerWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function run($config = [])
? $config
: BoltContainerConfiguration::createContainer($config + RoadRunnerConfiguration::default());

Factory::of($container)->get(static::class)->loop();
Factory::of($container)->getOrProduce(static::class)->loop();
exit(0);
}

Expand Down

0 comments on commit 7d583e1

Please sign in to comment.