src/CoreBundle/Repository/MessageRepository.php
Missing function doc comment Open
Open
public function findSentInvitationsByUserAndStatus(User $userSender, User $userReceiver, array $statuses): array
- Exclude checks
Declare public methods first,then protected ones and finally private ones Open
Open
public function usersHaveSharedMessages(?User $currentUser, ?User $targetUser): bool
- Exclude checks
Declare public methods first,then protected ones and finally private ones Open
Open
public function findByGroupId(int $groupId)
- Exclude checks
Missing function doc comment Open
Open
public function findReceivedInvitationsByUser(User $user): array
- Exclude checks
Missing function doc comment Open
Open
public function update(Message $message, bool $andFlush = true): void
- Exclude checks
Missing function doc comment Open
Open
public function getMessagesByGroupAndMessage(int $groupId, int $messageId): array
- Exclude checks
Missing function doc comment Open
Open
public function delete(Message $message): void
- Exclude checks
Missing function doc comment Open
Open
public function getMessagesByGroup(int $groupId, bool $mainMessagesOnly = false): array
- Exclude checks
Missing function doc comment Open
Open
public function invitationDenied(User $sender, User $receiver): bool
- Exclude checks
Missing function doc comment Open
Open
public function usersHaveSharedMessages(?User $currentUser, ?User $targetUser): bool
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Missing class doc comment Open
Open
class MessageRepository extends ServiceEntityRepository
- Exclude checks
Missing function doc comment Open
Open
public function __construct(ManagerRegistry $registry)
- Exclude checks
Missing function doc comment Open
Open
public function findByGroupId(int $groupId)
- Exclude checks
Missing function doc comment Open
Open
public function invitationAccepted(User $sender, User $receiver): bool
- Exclude checks
Missing function doc comment Open
Open
public function existingInvitations(User $userSender, User $userReceiver): bool
- Exclude checks
Missing function doc comment Open
Open
public function deleteTopicAndChildren(int $groupId, int $topicId): void
- Exclude checks
Missing function doc comment Open
Open
public function findSentInvitationsByUser(User $user): array
- Exclude checks
Missing function doc comment Open
Open
public function sendInvitationToFriend(User $userSender, User $userReceiver, string $messageTitle, string $messageContent): bool
- Exclude checks