When updating to version 3.2.7, my whole Opigno site died with the following error message:
PHP Fatal error:Declaration of Drupal\opigno_messaging\Services\OpignoPrivateMessageService::getFirstThreadForUser(Drupal\user\UserInterface $user) must be compatible with Drupal\private_message\Service\PrivateMessageService::getFirstThreadForUser(Drupal\user\UserInterface $user): Drupal\private_message\Entity\PrivateMessageThreadInterface|false in /[...]/opigno_messaging/src/Services/OpignoPrivateMessageService.php on line 33
Pinning the version of drupal/private_message to 3.0.4 in my composer file appears to solve the issue.
Active
3.2
Code