Completed
Push — master ( fa2f9e...da6516 )
by Gabriel
02:23
created
src/Models/Product.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $this->variants = new Variants();
29 29
     }
30 30
 
31
-    public function getId(): ?int
31
+    public function getId(): ? int
32 32
     {
33 33
         return $this->id;
34 34
     }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         $this->id = $id;
39 39
     }
40 40
 
41
-    public function getImages(): ?array
41
+    public function getImages(): ? array
42 42
     {
43 43
         return $this->images;
44 44
     }
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $this->pendingImage = $image;
55 55
     }
56 56
 
57
-    public function getVariants(): ?Variants
57
+    public function getVariants(): ? Variants
58 58
     {
59 59
         return $this->variants;
60 60
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $this->variants = $variants;
65 65
     }
66 66
 
67
-    public function getName(): ?string
67
+    public function getName(): ? string
68 68
     {
69 69
         return $this->name;
70 70
     }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $this->name = $name;
75 75
     }
76 76
 
77
-    public function getDescription(): ?string
77
+    public function getDescription(): ? string
78 78
     {
79 79
         return $this->description;
80 80
     }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         $this->description = $description;
85 85
     }
86 86
 
87
-    public function getNotes(): ?string
87
+    public function getNotes(): ? string
88 88
     {
89 89
         return $this->notes;
90 90
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         $this->notes = $notes;
95 95
     }
96 96
 
97
-    public function getCreationDatetime(): ?DateTime
97
+    public function getCreationDatetime(): ? DateTime
98 98
     {
99 99
         return $this->creation_datetime;
100 100
     }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $this->creation_datetime = $creation_datetime;
105 105
     }
106 106
 
107
-    public function getModificationDatetime(): ?DateTime
107
+    public function getModificationDatetime(): ? DateTime
108 108
     {
109 109
         return $this->modification_datetime;
110 110
     }
Please login to merge, or discard this patch.
src/Models/Product/Variant.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $this->prices = new Prices();
40 40
     }
41 41
 
42
-    public function getId(): ?int
42
+    public function getId(): ? int
43 43
     {
44 44
         return $this->id;
45 45
     }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $this->id = $id;
50 50
     }
51 51
 
52
-    public function getImages(): ?array
52
+    public function getImages(): ? array
53 53
     {
54 54
         return $this->images;
55 55
     }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         $this->pendingImage = $image;
66 66
     }
67 67
 
68
-    public function getOptions(): ?Options
68
+    public function getOptions(): ? Options
69 69
     {
70 70
         return $this->options;
71 71
     }
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $this->options = $options;
76 76
     }
77 77
 
78
-    public function getCodes(): ?Codes
78
+    public function getCodes(): ? Codes
79 79
     {
80 80
         return $this->codes;
81 81
     }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         $this->codes = $codes;
86 86
     }
87 87
 
88
-    public function getPrices(): ?Prices
88
+    public function getPrices(): ? Prices
89 89
     {
90 90
         return $this->prices;
91 91
     }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $this->prices = $prices;
96 96
     }
97 97
 
98
-    public function getDescription(): ?string
98
+    public function getDescription(): ? string
99 99
     {
100 100
         return $this->description;
101 101
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $this->description = $description;
106 106
     }
107 107
 
108
-    public function getNotes(): ?string
108
+    public function getNotes(): ? string
109 109
     {
110 110
         return $this->notes;
111 111
     }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         $this->notes = $notes;
116 116
     }
117 117
 
118
-    public function getWeightUnit(): ?string
118
+    public function getWeightUnit(): ? string
119 119
     {
120 120
         return $this->weight_unit;
121 121
     }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         $this->weight_unit = $weight_unit;
126 126
     }
127 127
 
128
-    public function getLengthUnit(): ?string
128
+    public function getLengthUnit(): ? string
129 129
     {
130 130
         return $this->length_unit;
131 131
     }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
         $this->length_unit = $length_unit;
136 136
     }
137 137
 
138
-    public function getWeight(): ?float
138
+    public function getWeight(): ? float
139 139
     {
140 140
         return $this->weight;
141 141
     }
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         $this->weight = $weight;
146 146
     }
147 147
 
148
-    public function getWidth(): ?float
148
+    public function getWidth(): ? float
149 149
     {
150 150
         return $this->width;
151 151
     }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         $this->width = $width;
156 156
     }
157 157
 
158
-    public function getHeight(): ?float
158
+    public function getHeight(): ? float
159 159
     {
160 160
         return $this->height;
161 161
     }
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
         $this->height = $height;
166 166
     }
167 167
 
168
-    public function getDepth(): ?float
168
+    public function getDepth(): ? float
169 169
     {
170 170
         return $this->depth;
171 171
     }
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         $this->depth = $depth;
176 176
     }
177 177
 
178
-    public function getCreationDatetime(): ?DateTime
178
+    public function getCreationDatetime(): ? DateTime
179 179
     {
180 180
         return $this->creation_datetime;
181 181
     }
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
         $this->creation_datetime = $creation_datetime;
186 186
     }
187 187
 
188
-    public function getModificationDatetime(): ?DateTime
188
+    public function getModificationDatetime(): ? DateTime
189 189
     {
190 190
         return $this->modification_datetime;
191 191
     }
Please login to merge, or discard this patch.