From afe69ddad9e58b5d561130658e62ff08b7b2b761 Mon Sep 17 00:00:00 2001 From: Alban Baixas Date: Thu, 18 Oct 2018 20:44:26 +0200 Subject: [PATCH] add missing bracket on helpers docs --- docs/helpers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/helpers.md b/docs/helpers.md index 76ba4b1..5dc81d6 100644 --- a/docs/helpers.md +++ b/docs/helpers.md @@ -70,7 +70,7 @@ use Joli\JoliNotif\NotifierFactory; […] $builder->addDefinitions([ - Notifier::class => factory(NotifierFactory::class, 'create'), + Notifier::class => factory([NotifierFactory::class, 'create']), ]); ```