Closed Lakshan-Madushanka closed 1 month ago
abstract
, making them only accessible by classes derived from AbstractQueries.php
. This makes our class much more maintainable, safe and flexible as now these methods can be implemented in various ways according to derived class needs.userCommentCount()
, reactedUsers()
, getTotalCommentsCountForRelated()
, userReplyCountForComment()
, getCommentReplyCount()
, commentReplies()
, usersStartWithName()
) have been updated. These changes allow further customization and make these methods more flexible for various use-cases.allRelatedComments()
, addCount()
, userReplyCountForComment()
, usersCount()
, guest()
) have been changed. These modifications make our code robust and reduce potential errors by ensuring that these methods always return a value of the specified type.guest()
has been changed to UserData, meaning that now it provides more useful and comprehensive data about a guest. Similarly, return type of usersCount()
method has been changed to integer which makes its output much more simple and intuitive.
This pull request applies code style fixes from an analysis carried out by StyleCI.
For more information, click here.