@@ -14,7 +14,7 @@ |
||
14 | 14 | * |
15 | 15 | * @param array[] $report |
16 | 16 | */ |
17 | - public function __construct(array $report = []) |
|
17 | + public function __construct(array $report = [ ]) |
|
18 | 18 | { |
19 | 19 | $this->report = $report; |
20 | 20 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | */ |
18 | 18 | public static function decode(GetFullReportResponseRaw $fullReportResponseRaw): GetFullReportResponse |
19 | 19 | { |
20 | - $elements = []; |
|
20 | + $elements = [ ]; |
|
21 | 21 | |
22 | 22 | if ('' === $fullReportResponseRaw->getDanePobierzPelnyRaportResult()) { |
23 | 23 | return new GetFullReportResponse($elements); |
@@ -27,11 +27,11 @@ discard block |
||
27 | 27 | $xmlElementsResponse = new \SimpleXMLElement($fullReportResponseRaw->getDanePobierzPelnyRaportResult()); |
28 | 28 | |
29 | 29 | foreach ($xmlElementsResponse->dane as $resultData) { |
30 | - $element = []; |
|
30 | + $element = [ ]; |
|
31 | 31 | foreach ($resultData as $key => $item) { |
32 | - $element[$key] = (string) $item; |
|
32 | + $element[ $key ] = (string) $item; |
|
33 | 33 | } |
34 | - $elements[] = $element; |
|
34 | + $elements[ ] = $element; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | return new GetFullReportResponse($elements); |