Skip to content

Commit

Permalink
bug #4350 Removed extra parenthesis (sivolobov)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wouterj committed Oct 21, 2014
2 parents c8f96c0 + 6e9e1e6 commit d49d51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best_practices/business-logic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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);
// ...
Expand Down

0 comments on commit d49d51f

Please sign in to comment.