Skip to content
Snippets Groups Projects
Unverified Commit 35eae9d9 authored by Mateu Aguiló Bosch's avatar Mateu Aguiló Bosch
Browse files

Revert "Issue #3216615 by e0ipso, fadonascimento: object is a reserved...

Revert "Issue #3216615 by e0ipso, fadonascimento: object is  a reserved keyword as of PHP version 7.2 and should not be used in namespaces"
parent 9a7bcefa
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Cache\CacheableResponseInterface;
use Drupal\Core\Controller\ControllerBase;
use Drupal\jsonrpc\Exception\JsonRpcException;
use Drupal\jsonrpc\JsonRpcObject\Request as RpcRequest;
use Drupal\jsonrpc\JsonRpcObject\Response as RpcResponse;
use Drupal\jsonrpc\Object\Request as RpcRequest;
use Drupal\jsonrpc\Object\Response as RpcResponse;
use Drupal\jsonrpc\Shaper\RpcRequestFactory;
use Drupal\jsonrpc\Shaper\RpcResponseFactory;
use Shaper\Util\Context;
......@@ -294,7 +294,7 @@ class HttpController extends ControllerBase {
/**
* Intersects all the headers in the RPC responses into a single bag.
*
* @param \Drupal\jsonrpc\JsonRpcObject\Response[] $rpc_responses
* @param \Drupal\jsonrpc\Object\Response[] $rpc_responses
* The RPC responses.
*
* @return \Symfony\Component\HttpFoundation\HeaderBag
......
......@@ -2,7 +2,7 @@
namespace Drupal\jsonrpc_test\Plugin\jsonrpc\Method;
use Drupal\jsonrpc\JsonRpcObject\ParameterBag;
use Drupal\jsonrpc\Object\ParameterBag;
use Drupal\jsonrpc\Plugin\JsonRpcMethodBase;
/**
......
......@@ -3,8 +3,8 @@
namespace Drupal\jsonrpc_test\Plugin\jsonrpc\Method;
use Drupal\jsonrpc\Handler;
use Drupal\jsonrpc\JsonRpcObject\ParameterBag;
use Drupal\jsonrpc\JsonRpcObject\Response;
use Drupal\jsonrpc\Object\ParameterBag;
use Drupal\jsonrpc\Object\Response;
use Drupal\jsonrpc\Plugin\JsonRpcMethodBase;
use Symfony\Component\HttpFoundation\HeaderBag;
......
......@@ -3,8 +3,8 @@
namespace Drupal\jsonrpc_test\Plugin\jsonrpc\Method;
use Drupal\jsonrpc\Handler;
use Drupal\jsonrpc\JsonRpcObject\ParameterBag;
use Drupal\jsonrpc\JsonRpcObject\Response;
use Drupal\jsonrpc\Object\ParameterBag;
use Drupal\jsonrpc\Object\Response;
use Drupal\jsonrpc\Plugin\JsonRpcMethodBase;
use Symfony\Component\HttpFoundation\HeaderBag;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment