Moved StandardException to it's own namespace

This commit is contained in:
netkas 2025-01-30 00:27:06 -05:00
parent b8ef387bb2
commit efc9905200
37 changed files with 39 additions and 41 deletions

View file

@ -6,15 +6,16 @@
use Socialbox\Enums\StandardError;
use Socialbox\Enums\StandardMethods;
use Socialbox\Exceptions\DatabaseOperationException;
use Socialbox\Exceptions\StandardException;
use Socialbox\Exceptions\Standard\StandardException;
use Socialbox\Interfaces\SerializableInterface;
use Socialbox\Objects\ClientRequest;
use Socialbox\Objects\RpcRequest;
class GetAllowedMethods extends Method
{
/**
* Returns a list of allowed methods for the current session.
*
* @inheritDoc
*/
public static function execute(ClientRequest $request, RpcRequest $rpcRequest): ?SerializableInterface

View file

@ -9,7 +9,6 @@
class GetSessionState extends Method
{
/**
* @inheritDoc
*/

View file

@ -7,7 +7,7 @@
use Socialbox\Abstracts\Method;
use Socialbox\Enums\ReservedUsernames;
use Socialbox\Enums\StandardError;
use Socialbox\Exceptions\StandardException;
use Socialbox\Exceptions\Standard\StandardException;
use Socialbox\Interfaces\SerializableInterface;
use Socialbox\Objects\ClientRequest;
use Socialbox\Objects\PeerAddress;

View file

@ -6,7 +6,7 @@
use InvalidArgumentException;
use Socialbox\Abstracts\Method;
use Socialbox\Enums\StandardError;
use Socialbox\Exceptions\StandardException;
use Socialbox\Exceptions\Standard\StandardException;
use Socialbox\Interfaces\SerializableInterface;
use Socialbox\Objects\ClientRequest;
use Socialbox\Objects\PeerAddress;