From b3d1216977732e729b20216c73d744bb1764de3e Mon Sep 17 00:00:00 2001 From: Pierre Grimaud Date: Tue, 28 Apr 2020 00:10:34 +0200 Subject: [PATCH] Fix typos --- Controller/ThreadController.php | 4 ++-- Events.php | 6 +++--- Sorting/AgedVoteSorting.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Controller/ThreadController.php b/Controller/ThreadController.php index b7870c2d6..4e4620415 100644 --- a/Controller/ThreadController.php +++ b/Controller/ThreadController.php @@ -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 @@ -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 diff --git a/Events.php b/Events.php index 0ba1584ff..5d00a8297 100644 --- a/Events.php +++ b/Events.php @@ -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 @@ -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 @@ -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 diff --git a/Sorting/AgedVoteSorting.php b/Sorting/AgedVoteSorting.php index 3051c4773..ac230f796 100644 --- a/Sorting/AgedVoteSorting.php +++ b/Sorting/AgedVoteSorting.php @@ -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