Skip to content

Commit d49d51f

Browse files
committed
bug #4350 Removed extra parenthesis (sivolobov)
This PR was merged into the 2.3 branch. Discussion ---------- Removed extra parenthesis | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all versions | Fixed tickets | no tickets Commits ------- 6e9e1e6 Removed extra parenthesis
2 parents c8f96c0 + 6e9e1e6 commit d49d51f

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)