Updated PhpDocs

This commit is contained in:
netkas 2025-01-22 15:36:19 -05:00
parent 2933b5435f
commit 0d09e77d59

View file

@ -6,6 +6,7 @@
use Socialbox\Enums\StandardHeaders; use Socialbox\Enums\StandardHeaders;
use Socialbox\Enums\Types\RequestType; use Socialbox\Enums\Types\RequestType;
use Socialbox\Exceptions\CryptographyException; use Socialbox\Exceptions\CryptographyException;
use Socialbox\Exceptions\DatabaseOperationException;
use Socialbox\Exceptions\RequestException; use Socialbox\Exceptions\RequestException;
use Socialbox\Managers\RegisteredPeerManager; use Socialbox\Managers\RegisteredPeerManager;
use Socialbox\Managers\SessionManager; use Socialbox\Managers\SessionManager;
@ -182,6 +183,7 @@
* Retrieves the associated peer for the current session. * Retrieves the associated peer for the current session.
* *
* @return RegisteredPeerRecord|null Returns the associated RegisteredPeerRecord if available, or null if no session exists. * @return RegisteredPeerRecord|null Returns the associated RegisteredPeerRecord if available, or null if no session exists.
* @throws DatabaseOperationException Thrown if an error occurs while retrieving the peer.
*/ */
public function getPeer(): ?RegisteredPeerRecord public function getPeer(): ?RegisteredPeerRecord
{ {