@@ -8,6 +8,6 @@ |
||
8 | 8 | { |
9 | 9 | public static function decode(string $response): string |
10 | 10 | { |
11 | - return stristr((string) stristr($response, '<s:'), '</s:Envelope>', true) . '</s:Envelope>'; |
|
11 | + return stristr((string) stristr($response, '<s:'), '</s:Envelope>', true).'</s:Envelope>'; |
|
12 | 12 | } |
13 | 13 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | //you can change report type to other one |
29 | 29 | $reportType = ReportTypes::REPORT_PERSON; |
30 | 30 | echo $gusReport->getName(); |
31 | - echo 'Address: ' . $gusReport->getStreet() . ' ' . $gusReport->getPropertyNumber() . '/' . $gusReport->getApartmentNumber(); |
|
31 | + echo 'Address: '.$gusReport->getStreet().' '.$gusReport->getPropertyNumber().'/'.$gusReport->getApartmentNumber(); |
|
32 | 32 | |
33 | 33 | $fullReport = $gus->getFullReport($gusReport, $reportType); |
34 | 34 | var_dump($fullReport); |
@@ -5,9 +5,9 @@ |
||
5 | 5 | use Rector\Config\RectorConfig; |
6 | 6 | use Rector\Set\ValueObject\LevelSetList; |
7 | 7 | |
8 | -return static function (RectorConfig $rectorConfig): void { |
|
8 | +return static function(RectorConfig $rectorConfig): void { |
|
9 | 9 | $rectorConfig->paths([ |
10 | - __DIR__ . '/src' |
|
10 | + __DIR__.'/src' |
|
11 | 11 | ]); |
12 | 12 | |
13 | 13 | $rectorConfig->sets([ |
@@ -29,6 +29,6 @@ |
||
29 | 29 | throw new InvalidActionNameException(sprintf('Invalid action %s', $functionName)); |
30 | 30 | } |
31 | 31 | |
32 | - return self::ACTIONS[$functionName] . $functionName; |
|
32 | + return self::ACTIONS[$functionName].$functionName; |
|
33 | 33 | } |
34 | 34 | } |
@@ -90,7 +90,7 @@ |
||
90 | 90 | $soapHeaders = $this->getRequestHeaders($action, $this->location); |
91 | 91 | $this->soapClient->__setLocation($this->location); |
92 | 92 | $this->setHttpOptions([ |
93 | - 'header' => 'sid: ' . $sid, |
|
93 | + 'header' => 'sid: '.$sid, |
|
94 | 94 | 'user_agent' => 'PHP GusApi', |
95 | 95 | ]); |
96 | 96 |