Skip to content

Commit

Permalink
Merge pull request #11 from Roshyo/make-entity-properties-protected
Browse files Browse the repository at this point in the history
Make entity properties protected instead of private
  • Loading branch information
LucaGallinari authored Jul 15, 2021
2 parents 5bc2bdb + d9ab913 commit 31d866b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Entity/ShippingTableRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@
class ShippingTableRate implements ResourceInterface, CodeAwareInterface
{
/** @var int|null */
private $id;
protected $id;

/**
* @var string|null
*
* @Assert\NotBlank(groups={"sylius"})
*/
private $code;
protected $code;

/**
* @var string|null
*
* @Assert\NotBlank(groups={"sylius"})
*/
private $name;
protected $name;

/**
* @var CurrencyInterface|null
*
* @Assert\NotBlank(groups={"sylius"})
*/
private $currency;
protected $currency;

/**
* @var array
Expand All @@ -48,7 +48,7 @@ class ShippingTableRate implements ResourceInterface, CodeAwareInterface
* message="webgriffe_sylius_table_rate_plugin.ui.shipping_table_rate.weightLimitToRate.not_blank"
* )
*/
private $weightLimitToRate = [];
protected $weightLimitToRate = [];

public function getId(): ?int
{
Expand Down

0 comments on commit 31d866b

Please sign in to comment.