Completed
Pull Request — master (#9)
by Lars
02:23
created
src/RegistrationRepository.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * Constructor
29 29
      *
30
-     * @param string $request  Request object
31 30
      */
32 31
     public function __construct(ClientInterface $client)
33 32
     {
@@ -37,7 +36,7 @@  discard block
 block discarded – undo
37 36
     /**
38 37
      * Adds registration
39 38
      *
40
-     * @param array $registration Array with registration options
39
+     * @param array $registrations Array with registration options
41 40
      *
42 41
      * @return Response
43 42
      */
Please login to merge, or discard this patch.
src/Response.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Constructor
34 34
      *
35
-     * @param object $responseType Response type
35
+     * @param string $responseType Response type
36 36
      * @param object $response     Actual response from SOAP
37 37
      */
38 38
     public function __construct($responseType, $response)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
                 return $this->response->HentNyeTilmeldingerV2Result;
83 83
             break;
84 84
             default:
85
-                throw new \Exception($this->responseType . ' is not a valid response type');
85
+                throw new \Exception($this->responseType.' is not a valid response type');
86 86
         }
87 87
     }
88 88
 
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     public function deleteRegistrations($weblist_id)
82 82
     {
83 83
         $params = $this->credentials->getArray();
84
-        $params['Id_WebListe'] = '72200' . '_' . 'T3';
84
+        $params['Id_WebListe'] = '72200'.'_'.'T3';
85 85
         return new Response('SletTilmeldingerV2', $this->soap->SletTilmeldingerV2($params));
86 86
     }
87 87
 }
Please login to merge, or discard this patch.