Skip to content

Commit 2725f6f

Browse files
removed typehints in data objects with associated entity
1 parent 933ce41 commit 2725f6f

File tree

10 files changed

+10
-12
lines changed

10 files changed

+10
-12
lines changed

src/Model/Advert/AdvertData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class AdvertData
5454
/**
5555
* @var \Shopsys\FrameworkBundle\Model\Category\Category[]
5656
*/
57-
public array $categories;
57+
public $categories;
5858

5959
/**
6060
* @var \DateTime|null

src/Model/Article/ArticleData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ArticleData
5757
/**
5858
* @var string|null
5959
*/
60-
public ?string $uuid = null;
60+
public $uuid;
6161

6262
/**
6363
* @var \DateTime|null

src/Model/Payment/PaymentData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class PaymentData
5959
/**
6060
* @var string|null
6161
*/
62-
public ?string $uuid = null;
62+
public $uuid;
6363

6464
public function __construct()
6565
{

src/Model/Product/Brand/BrandData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class BrandData
4646
/**
4747
* @var string|null
4848
*/
49-
public ?string $uuid = null;
49+
public $uuid;
5050

5151
public function __construct()
5252
{

src/Model/Product/Flag/FlagData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FlagData
2424
/**
2525
* @var string|null
2626
*/
27-
public ?string $uuid = null;
27+
public $uuid;
2828

2929
public function __construct()
3030
{

src/Model/Product/Parameter/ParameterData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ParameterData
1919
/**
2020
* @var string|null
2121
*/
22-
public ?string $uuid = null;
22+
public $uuid;
2323

2424
public function __construct()
2525
{

src/Model/Product/Parameter/ParameterValueData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ class ParameterValueData
1919
/**
2020
* @var string|null
2121
*/
22-
public ?string $uuid = null;
22+
public $uuid;
2323
}

src/Model/Product/ProductData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class ProductData
166166
/**
167167
* @var string|null
168168
*/
169-
public ?string $uuid = null;
169+
public $uuid;
170170

171171
/**
172172
* @var array<int, \Shopsys\FrameworkBundle\Model\Pricing\Vat\Vat>

src/Model/Seo/Page/SeoPageData.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Shopsys\FrameworkBundle\Model\Seo\Page;
66

7-
use Shopsys\FrameworkBundle\Component\FileUpload\ImageUploadData;
8-
97
class SeoPageData
108
{
119
/**
@@ -51,7 +49,7 @@ class SeoPageData
5149
/**
5250
* @var \Shopsys\FrameworkBundle\Component\FileUpload\ImageUploadData
5351
*/
54-
public ImageUploadData $seoOgImage;
52+
public $seoOgImage;
5553

5654
public function __construct()
5755
{

src/Model/Transport/TransportData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class TransportData
5454
/**
5555
* @var string|null
5656
*/
57-
public ?string $uuid = null;
57+
public $uuid;
5858

5959
/**
6060
* @var int|null

0 commit comments

Comments
 (0)