We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c65125 commit f326cdeCopy full SHA for f326cde
1 file changed
src/ApiPlatform/Resources/Product/Product.php
@@ -31,6 +31,7 @@
31
use PrestaShop\PrestaShop\Core\Domain\Product\Exception\ProductNotFoundException;
32
use PrestaShop\PrestaShop\Core\Domain\Product\Query\GetProductForEditing;
33
use PrestaShop\PrestaShop\Core\Domain\Shop\Exception\ShopAssociationNotFound;
34
+use PrestaShop\PrestaShop\Core\Util\DateTime\DateImmutable;
35
use PrestaShopBundle\ApiPlatform\Metadata\CQRSCreate;
36
use PrestaShopBundle\ApiPlatform\Metadata\CQRSDelete;
37
use PrestaShopBundle\ApiPlatform\Metadata\CQRSGet;
@@ -209,7 +210,7 @@ class Product
209
210
#[LocalizedValue]
211
public array $availableLaterLabels;
212
- public ?\DateTimeImmutable $availableDate = null;
213
+ public ?DateImmutable $availableDate = null;
214
215
public string $coverThumbnailUrl;
216
0 commit comments