Skip to content

Commit 09713ef

Browse files
Jason MiesionczekJason Miesionczek
authored andcommitted
fix containeraware stuff
1 parent ad60d36 commit 09713ef

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Controller/JsonRpcController.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
66
use Symfony\Component\HttpFoundation\Request;
77
use Symfony\Component\HttpFoundation\Response;
8-
use Symfony\Component\DependencyInjection\ContainerAware;
8+
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
9+
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
910

1011
/**
1112
* Controller for executing JSON-RPC 2.0 requests
@@ -41,8 +42,10 @@
4142
* @author Christoph Singer
4243
*
4344
*/
44-
class JsonRpcController extends ContainerAware
45+
class JsonRpcController implements ContainerAwareInterface
4546
{
47+
use ContainerAwareTrait;
48+
4649
const PARSE_ERROR = -32700;
4750
const INVALID_REQUEST = -32600;
4851
const METHOD_NOT_FOUND = -32601;

0 commit comments

Comments
 (0)