Completed
Branch develop (df052d)
by Amine
13:15
created
Rest/AbstractEndpoint.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -115,8 +115,6 @@
 block discarded – undo
115 115
      * Prepares a request.
116 116
      *
117 117
      * @param string $actionPath The path of action.
118
-     * @param string $method     The http method.
119
-     * @param array  $data       The parameters of action.
120 118
      * @param array  $server     The server parameters.
121 119
      *
122 120
      * @return Request
Please login to merge, or discard this patch.
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,16 +11,16 @@
 block discarded – undo
11 11
 
12 12
 namespace AMF\WebServicesClientBundle\Rest;
13 13
 
14
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
15
-use AMF\WebServicesClientBundle\Rest\Exception\RestException;
16
-use AMF\WebServicesClientBundle\Rest\Event\GetResponseEvent;
17 14
 use AMF\WebServicesClientBundle\Rest\Component\Request;
18 15
 use AMF\WebServicesClientBundle\Rest\Component\Url;
19
-use AMF\WebServicesClientBundle\Rest\Security\Wsse;
20
-use AMF\WebServicesClientBundle\Rest\Encoder\EncoderProviderInterface;
16
+use AMF\WebServicesClientBundle\Rest\Decoder\DecoderInterface;
21 17
 use AMF\WebServicesClientBundle\Rest\Decoder\DecoderProviderInterface;
22 18
 use AMF\WebServicesClientBundle\Rest\Encoder\EncoderInterface;
23
-use AMF\WebServicesClientBundle\Rest\Decoder\DecoderInterface;
19
+use AMF\WebServicesClientBundle\Rest\Encoder\EncoderProviderInterface;
20
+use AMF\WebServicesClientBundle\Rest\Event\GetResponseEvent;
21
+use AMF\WebServicesClientBundle\Rest\Exception\RestException;
22
+use AMF\WebServicesClientBundle\Rest\Security\Wsse;
23
+use Symfony\Component\EventDispatcher\EventDispatcherInterface;
24 24
 
25 25
 /**
26 26
  * The endpoint of rest webservice.
Please login to merge, or discard this patch.
Rest/Component/Response.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * Getter for content.
45 45
      *
46
-     * @return mixed
46
+     * @return string|null
47 47
      */
48 48
     public function getContent()
49 49
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      * @param mixed   $content    The content of response.
157 157
      * @param integer $statusCode The code status of response.
158 158
      *
159
-     * @return \static
159
+     * @return Response
160 160
      */
161 161
     public static function create($content, $statusCode)
162 162
     {
Please login to merge, or discard this patch.
DependencyInjection/Compiler/RegisterSoapWebServicesPass.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 namespace AMF\WebServicesClientBundle\DependencyInjection\Compiler;
13 13
 
14
+use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
14 15
 use Symfony\Component\DependencyInjection\ContainerBuilder;
15 16
 use Symfony\Component\DependencyInjection\DefinitionDecorator;
16
-use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
17 17
 use Symfony\Component\DependencyInjection\Reference;
18 18
 
19 19
 /**
Please login to merge, or discard this patch.
Rest/EventListener/HttpListener.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace AMF\WebServicesClientBundle\Rest\EventListener;
13 13
 
14
-use AMF\WebServicesClientBundle\Rest\Event\GetResponseEvent;
15 14
 use AMF\WebServicesClientBundle\Rest\Component\Response;
15
+use AMF\WebServicesClientBundle\Rest\Event\GetResponseEvent;
16 16
 
17 17
 /**
18 18
  * Listener for http rest requests.
Please login to merge, or discard this patch.