Skip to content

Commit

Permalink
Merge pull request #721 from pgrimaud/master
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
XWB authored Apr 28, 2020
2 parents 51fb33b + b3d1216 commit ba21f98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Controller/ThreadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function editThreadCommentableAction(Request $request, $id)
/**
* Edits the thread.
*
* @param Request $request Currenty request
* @param Request $request Currently request
* @param mixed $id Thread id
*
* @return View
Expand Down Expand Up @@ -669,7 +669,7 @@ protected function onCreateThreadErrorDuplicate(FormInterface $form)
}

/**
* Action executed when a vote was succesfully created.
* Action executed when a vote was successfully created.
*
* @param FormInterface $form Form with the error
* @param string $id Id of the thread
Expand Down
6 changes: 3 additions & 3 deletions Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class Events
* persisting the Comment.
*
* This event allows you to modify the data in the Comment prior
* to persisting occuring. The listener receives a
* to persisting occurring. The listener receives a
* FOS\CommentBundle\Event\CommentPersistEvent instance.
*
* Persisting of the comment can be aborted by calling
Expand Down Expand Up @@ -57,7 +57,7 @@ final class Events
* persisting the Thread.
*
* This event allows you to modify the data in the Thread prior
* to persisting occuring. The listener receives a
* to persisting occurring. The listener receives a
* FOS\CommentBundle\Event\ThreadEvent instance.
*
* @var string
Expand Down Expand Up @@ -93,7 +93,7 @@ final class Events
* persisting the Vote.
*
* This event allows you to modify the data in the Vote prior
* to persisting occuring. The listener receives a
* to persisting occurring. The listener receives a
* FOS\CommentBundle\Event\VoteEvent instance.
*
* @var string
Expand Down
2 changes: 1 addition & 1 deletion Sorting/AgedVoteSorting.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AgedVoteSorting extends AbstractOrderSorting
/**
* Compares the comments score divided by the number of days since the 1970.
*
* The end result is a comment that is newer with tje same votes will be ranked
* The end result is a comment that is newer with the same votes will be ranked
* higher.
*
* @param CommentInterface $a
Expand Down

0 comments on commit ba21f98

Please sign in to comment.