Skip to content

Commit 6e9e1e6

Browse files
committed
Removed extra parenthesis
1 parent c8f96c0 commit 6e9e1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

best_practices/business-logic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Now you can use the custom slugger in any controller class, such as the
104104
// ...
105105
106106
if ($form->isSubmitted() && $form->isValid()) {
107-
$slug = $this->get('slugger')->slugify($post->getTitle()));
107+
$slug = $this->get('slugger')->slugify($post->getTitle());
108108
$post->setSlug($slug);
109109
110110
// ...

0 commit comments

Comments
 (0)