From 6e9e1e6dd50bdd791c5db8e2fecf796f42098042 Mon Sep 17 00:00:00 2001 From: Mike Sivolobov Date: Tue, 21 Oct 2014 01:33:09 +0700 Subject: [PATCH] Removed extra parenthesis --- best_practices/business-logic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/best_practices/business-logic.rst b/best_practices/business-logic.rst index e844eaec2cc..aed61983a45 100644 --- a/best_practices/business-logic.rst +++ b/best_practices/business-logic.rst @@ -104,7 +104,7 @@ Now you can use the custom slugger in any controller class, such as the // ... if ($form->isSubmitted() && $form->isValid()) { - $slug = $this->get('slugger')->slugify($post->getTitle())); + $slug = $this->get('slugger')->slugify($post->getTitle()); $post->setSlug($slug); // ...