Skip to content

Commit

Permalink
Optimize visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ackintosh committed Aug 17, 2017
1 parent 7570b97 commit 4738f76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Snidel/Traits/Queueing.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ trait Queueing
* @param Driver $driver
* @return PersistentFactory
*/
public function createFactory(Driver $driver)
private function createFactory(Driver $driver)
{
$aggregateNormalizer = new AggregateNormalizer([
new EnvelopeNormalizer(),
Expand All @@ -35,7 +35,7 @@ public function createFactory(Driver $driver)
* @param Router $router
* @return Consumer
*/
public function createConsumer(Router $router)
private function createConsumer(Router $router)
{
return new Consumer($router, new EventDispatcher());
}
Expand All @@ -44,7 +44,7 @@ public function createConsumer(Router $router)
* @param QueueFactory $factory
* @return Producer
*/
public function createProducer(QueueFactory $factory)
private function createProducer(QueueFactory $factory)
{
return new Producer($factory, new EventDispatcher());
}
Expand Down

0 comments on commit 4738f76

Please sign in to comment.