Skip to content

Commit

Permalink
fix ParameterBag namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dhanielo committed Mar 17, 2016
1 parent a61eba2 commit 3bd933e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Rpc/Request/RpcRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Cmobi\RabbitmqBundle\Rpc\Request;

use Cmobi\RabbitmqBundle\Rpc\Exception\RpcInvalidRequestException;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
use Symfony\Component\HttpFoundation\ParameterBag;


class RpcRequest implements RpcRequestInterface
Expand Down
4 changes: 1 addition & 3 deletions Rpc/Request/RpcRequestCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ public function add(RpcRequestInterface $request)
$key = array_search($request, $this->requests, true);

if ($key !== false) {
unserialize($this->requests[$key]);
unset($this->requests[$key]);
}
unset($this->requests[$key]);

$this->requests[] = $request;
}

Expand Down
2 changes: 1 addition & 1 deletion Rpc/Response/RpcResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Cmobi\RabbitmqBundle\Rpc\Exception\RpcGenericErrorException;
use Cmobi\RabbitmqBundle\Rpc\Exception\RpcInvalidResponseException;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
use Symfony\Component\HttpFoundation\ParameterBag;

class RpcResponse implements RpcResponseInterface
{
Expand Down

0 comments on commit 3bd933e

Please sign in to comment.