Completed
Push — master ( 5bd666...dff044 )
by Janusz
04:04
created
src/GusApi/Type/Response/GetFullReportResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/GusApi/Util/FullReportResponseDecoder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.