From 20777f256ec9b627329b8f2eed2aebf0cb0c4f3c Mon Sep 17 00:00:00 2001 From: umpirsky Date: Wed, 30 May 2012 09:45:15 +0200 Subject: [PATCH] Used example() instead setExample() on ArrayNodeDefinition. --- DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index a5fe3dcb..57a0420c 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -186,7 +186,7 @@ public function getConfigTreeBuilder() ->ifTrue(function($v) { return isset($v['debug']); }) ->thenInvalid('The "debug" name cannot be used as it is reserved for the handler of the profiler') ->end() - ->setExample(array( + ->example(array( 'syslog' => array( 'type' => 'stream', 'path' => '/var/log/symfony.log',