From bd7da6743d4854346d3e67b7cfc19908c2b71936 Mon Sep 17 00:00:00 2001 From: Wouter J Date: Thu, 25 Sep 2014 10:40:09 +0200 Subject: [PATCH] Fix error in code --- cookbook/bundles/best_practices.rst | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/cookbook/bundles/best_practices.rst b/cookbook/bundles/best_practices.rst index 51465b9d15a..d9c5fa88801 100644 --- a/cookbook/bundles/best_practices.rst +++ b/cookbook/bundles/best_practices.rst @@ -230,13 +230,20 @@ following standardized instructions in your ``README.md`` file. // app/AppKernel.php // ... - - public function registerBundles() + class AppKernel extends Kernel { - $bundles = array( + public function registerBundles() + { + $bundles = array( + // ... + + new \\(), + ); + // ... - return new \\(), - ); + } + + // ... } ```