diff options
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/lib/EventHandler.php | 2 | ||||
-rw-r--r-- | apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/lib/EventHandler.php b/apps/comments/lib/EventHandler.php index e5f0c6b61d4..20a15a9b026 100644 --- a/apps/comments/lib/EventHandler.php +++ b/apps/comments/lib/EventHandler.php @@ -42,7 +42,7 @@ class EventHandler implements ICommentsEventHandler { private $notificationListener; public function __construct(ActivityListener $activityListener, NotificationListener $notificationListener) { - $this->activityListener = $activityListener; + $this->activityListener = $activityListener; $this->notificationListener = $notificationListener; } diff --git a/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php b/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php index 28b23dc43bd..61fdbf5d52e 100644 --- a/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php +++ b/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php @@ -53,7 +53,7 @@ class CommentersSorterTest extends TestCase { $commentMocks = []; foreach ($data['actors'] as $actorType => $actors) { foreach ($actors as $actorId => $noOfComments) { - for ($i=0;$i<$noOfComments;$i++) { + for ($i = 0;$i < $noOfComments;$i++) { $mock = $this->createMock(IComment::class); $mock->expects($this->atLeastOnce()) ->method('getActorType') |