Completed
Push — master ( cacd0e...e6ba08 )
by Gabriel
02:29
created
src/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     public function jsonSerialize()
25 25
     {
26
-        return array_map(function (JsonSerializable $item) {
26
+        return array_map(function(JsonSerializable $item) {
27 27
             return $item->jsonSerialize();
28 28
         }, $this->items);
29 29
     }
Please login to merge, or discard this patch.
src/RequestHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         return $headers;
77 77
     }
78 78
 
79
-    private function encodeParams($params = null): ?string
79
+    private function encodeParams($params = null): ? string
80 80
     {
81 81
         $body = null;
82 82
         if ($params) {
Please login to merge, or discard this patch.
src/Models/Product/Variant/Price.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,32 +14,32 @@
 block discarded – undo
14 14
     private $creation_datetime;
15 15
     private $modification_datetime;
16 16
 
17
-    public function getId(): ?int
17
+    public function getId(): ? int
18 18
     {
19 19
         return $this->id;
20 20
     }
21 21
 
22
-    public function getPriceListId(): ?int
22
+    public function getPriceListId(): ? int
23 23
     {
24 24
         return $this->price_list_id;
25 25
     }
26 26
 
27
-    public function getCurrency(): ?string
27
+    public function getCurrency(): ? string
28 28
     {
29 29
         return $this->currency;
30 30
     }
31 31
 
32
-    public function getPrice(): ?int
32
+    public function getPrice(): ? int
33 33
     {
34 34
         return $this->price;
35 35
     }
36 36
 
37
-    public function getCreationDatetime(): ?DateTime
37
+    public function getCreationDatetime(): ? DateTime
38 38
     {
39 39
         return $this->creation_datetime;
40 40
     }
41 41
 
42
-    public function getModificationDatetime(): ?DateTime
42
+    public function getModificationDatetime(): ? DateTime
43 43
     {
44 44
         return $this->modification_datetime;
45 45
     }
Please login to merge, or discard this patch.
src/Models/Product/Variant/Code.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,27 +13,27 @@
 block discarded – undo
13 13
     private $creation_datetime;
14 14
     private $modification_datetime;
15 15
 
16
-    public function getId(): ?int
16
+    public function getId(): ? int
17 17
     {
18 18
         return $this->id;
19 19
     }
20 20
 
21
-    public function getLabel(): ?string
21
+    public function getLabel(): ? string
22 22
     {
23 23
         return $this->label;
24 24
     }
25 25
 
26
-    public function getValue(): ?string
26
+    public function getValue(): ? string
27 27
     {
28 28
         return $this->value;
29 29
     }
30 30
 
31
-    public function getCreationDatetime(): ?DateTime
31
+    public function getCreationDatetime(): ? DateTime
32 32
     {
33 33
         return $this->creation_datetime;
34 34
     }
35 35
 
36
-    public function getModificationDatetime(): ?DateTime
36
+    public function getModificationDatetime(): ? DateTime
37 37
     {
38 38
         return $this->modification_datetime;
39 39
     }
Please login to merge, or discard this patch.
src/Models/Product.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -34,42 +34,42 @@
 block discarded – undo
34 34
         $this->reset($data);
35 35
     }
36 36
 
37
-    public function getId(): ?int
37
+    public function getId(): ? int
38 38
     {
39 39
         return $this->id;
40 40
     }
41 41
 
42
-    public function getImages(): ?array
42
+    public function getImages(): ? array
43 43
     {
44 44
         return $this->images;
45 45
     }
46 46
 
47
-    public function getVariants(): ?Variants
47
+    public function getVariants(): ? Variants
48 48
     {
49 49
         return $this->variants;
50 50
     }
51 51
 
52
-    public function getName(): ?string
52
+    public function getName(): ? string
53 53
     {
54 54
         return $this->name;
55 55
     }
56 56
 
57
-    public function getDescription(): ?string
57
+    public function getDescription(): ? string
58 58
     {
59 59
         return $this->description;
60 60
     }
61 61
 
62
-    public function getNotes(): ?string
62
+    public function getNotes(): ? string
63 63
     {
64 64
         return $this->notes;
65 65
     }
66 66
 
67
-    public function getCreationDatetime(): ?DateTime
67
+    public function getCreationDatetime(): ? DateTime
68 68
     {
69 69
         return $this->creation_datetime;
70 70
     }
71 71
 
72
-    public function getModificationDatetime(): ?DateTime
72
+    public function getModificationDatetime(): ? DateTime
73 73
     {
74 74
         return $this->modification_datetime;
75 75
     }
Please login to merge, or discard this patch.
src/Models/Product/Variant.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -45,82 +45,82 @@
 block discarded – undo
45 45
         $this->prices = new Prices();
46 46
     }
47 47
 
48
-    public function getId(): ?int
48
+    public function getId(): ? int
49 49
     {
50 50
         return $this->id;
51 51
     }
52 52
 
53
-    public function getImages(): ?array
53
+    public function getImages(): ? array
54 54
     {
55 55
         return $this->images;
56 56
     }
57 57
 
58
-    public function getOptions(): ?Options
58
+    public function getOptions(): ? Options
59 59
     {
60 60
         return $this->options;
61 61
     }
62 62
 
63
-    public function getCodes(): ?Codes
63
+    public function getCodes(): ? Codes
64 64
     {
65 65
         return $this->codes;
66 66
     }
67 67
 
68
-    public function getPrices(): ?Prices
68
+    public function getPrices(): ? Prices
69 69
     {
70 70
         return $this->prices;
71 71
     }
72 72
 
73
-    public function getName(): ?string
73
+    public function getName(): ? string
74 74
     {
75 75
         return $this->name;
76 76
     }
77 77
 
78
-    public function getDescription(): ?string
78
+    public function getDescription(): ? string
79 79
     {
80 80
         return $this->description;
81 81
     }
82 82
 
83
-    public function getNotes(): ?string
83
+    public function getNotes(): ? string
84 84
     {
85 85
         return $this->notes;
86 86
     }
87 87
 
88
-    public function getWeightUnit(): ?string
88
+    public function getWeightUnit(): ? string
89 89
     {
90 90
         return $this->weight_unit;
91 91
     }
92 92
 
93
-    public function getLengthUnit(): ?string
93
+    public function getLengthUnit(): ? string
94 94
     {
95 95
         return $this->length_unit;
96 96
     }
97 97
 
98
-    public function getWeight(): ?float
98
+    public function getWeight(): ? float
99 99
     {
100 100
         return $this->weight;
101 101
     }
102 102
 
103
-    public function getWidth(): ?float
103
+    public function getWidth(): ? float
104 104
     {
105 105
         return $this->width;
106 106
     }
107 107
 
108
-    public function getHeight(): ?float
108
+    public function getHeight(): ? float
109 109
     {
110 110
         return $this->height;
111 111
     }
112 112
 
113
-    public function getDepth(): ?float
113
+    public function getDepth(): ? float
114 114
     {
115 115
         return $this->depth;
116 116
     }
117 117
 
118
-    public function getCreationDatetime(): ?DateTime
118
+    public function getCreationDatetime(): ? DateTime
119 119
     {
120 120
         return $this->creation_datetime;
121 121
     }
122 122
 
123
-    public function getModificationDatetime(): ?DateTime
123
+    public function getModificationDatetime(): ? DateTime
124 124
     {
125 125
         return $this->modification_datetime;
126 126
     }
Please login to merge, or discard this patch.
src/Models/Product/Variant/Option.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,27 +13,27 @@
 block discarded – undo
13 13
     private $creation_datetime;
14 14
     private $modification_datetime;
15 15
 
16
-    public function getId(): ?int
16
+    public function getId(): ? int
17 17
     {
18 18
         return $this->id;
19 19
     }
20 20
 
21
-    public function getLabel(): ?string
21
+    public function getLabel(): ? string
22 22
     {
23 23
         return $this->label;
24 24
     }
25 25
 
26
-    public function getValue(): ?string
26
+    public function getValue(): ? string
27 27
     {
28 28
         return $this->value;
29 29
     }
30 30
 
31
-    public function getCreationDatetime(): ?DateTime
31
+    public function getCreationDatetime(): ? DateTime
32 32
     {
33 33
         return $this->creation_datetime;
34 34
     }
35 35
 
36
-    public function getModificationDatetime(): ?DateTime
36
+    public function getModificationDatetime(): ? DateTime
37 37
     {
38 38
         return $this->modification_datetime;
39 39
     }
Please login to merge, or discard this patch.