Passed
Branch master (1a7158)
by Marcin
04:57
created
Category
src/mrcnpdlk/Teryt/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  *
12 12
  */
13 13
 
14
-declare (strict_types=1);
14
+declare (strict_types = 1);
15 15
 
16 16
 namespace mrcnpdlk\Teryt;
17 17
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         }
120 120
         $this->tTerytConfig['url']      = $tConfig['url'] ?? 'https://uslugaterytws1.stat.gov.pl/wsdl/terytws1.wsdl';
121 121
         $this->tTerytConfig['username'] = $tConfig['username'] ?? null;
122
-        $this->tTerytConfig['password'] = $tConfig['password'] ?? null;;
122
+        $this->tTerytConfig['password'] = $tConfig['password'] ?? null; ;
123 123
 
124 124
         if (!$this->tTerytConfig['username'] || !$this->tTerytConfig['password']) {
125 125
             throw new Connection(sprintf('Username and password for TERYT WS1 is required'));
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
             $this->oLogger->debug($method, $args);
207 207
 
208 208
             return $this->useCache(
209
-                function () use ($self, $method, $args) {
209
+                function() use ($self, $method, $args) {
210 210
                     $res       = $self->getSoap()->__soapCall($method, [$args]);
211 211
                     $resultKey = $method . 'Result';
212 212
                     if (!property_exists($res, $resultKey)) {
Please login to merge, or discard this patch.