From 9e971f8b6907f2e7fc517981b513142b787995f3 Mon Sep 17 00:00:00 2001 From: Wouter de Jong Date: Mon, 26 Apr 2021 11:18:45 +0200 Subject: [PATCH 1/3] Remove personal e-mailaddress from the code example --- notifier.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifier.rst b/notifier.rst index c5415b465a8..88dc6d4a519 100644 --- a/notifier.rst +++ b/notifier.rst @@ -492,7 +492,7 @@ sent using the Slack transport:: ->content('You got a new invoice for 15 EUR.') ->importance(Notification::IMPORTANCE_HIGH); - $notifier->send($notification, new Recipient('wouter@wouterj.nl')); + $notifier->send($notification, new Recipient('wouter@example.com')); // ... } From db8e96fe9e65db9ac278b9fa4122416e0dfebc42 Mon Sep 17 00:00:00 2001 From: JakeFr Date: Tue, 17 Aug 2021 18:23:32 +0200 Subject: [PATCH 2/3] [OptionsResolver] Fix code sample for chaining OptionConfigurator::allowedValues is a variadic function. --- components/options_resolver.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/options_resolver.rst b/components/options_resolver.rst index 941d61de6c7..28174aecd6c 100644 --- a/components/options_resolver.rst +++ b/components/options_resolver.rst @@ -817,7 +817,7 @@ method:: $resolver->define('transport') ->required() ->default('transport') - ->allowedValues(['sendmail', 'mail', 'smtp']); + ->allowedValues('sendmail', 'mail', 'smtp'); } } From a5980cc63a2089621260907ba1e1205baf8db2ee Mon Sep 17 00:00:00 2001 From: JakeFr Date: Sun, 22 Aug 2021 15:32:47 +0200 Subject: [PATCH 3/3] Update notifier.rst --- notifier.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifier.rst b/notifier.rst index 88dc6d4a519..c5415b465a8 100644 --- a/notifier.rst +++ b/notifier.rst @@ -492,7 +492,7 @@ sent using the Slack transport:: ->content('You got a new invoice for 15 EUR.') ->importance(Notification::IMPORTANCE_HIGH); - $notifier->send($notification, new Recipient('wouter@example.com')); + $notifier->send($notification, new Recipient('wouter@wouterj.nl')); // ... }