Skip to content

Commit

Permalink
set traits properties to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
twin-elements committed Mar 23, 2022
1 parent d7fe608 commit 15343d0
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Entity/Traits/AttachmentsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trait AttachmentsTrait
* @var array|null
* @ORM\Column(type="array", nullable=true)
*/
private $attachments = [];
protected $attachments = [];

/**
* @return array|null
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/ContentTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trait ContentTrait
* @var string|null
* @ORM\Column(type="text", nullable=true)
*/
private $content;
protected $content;

/**
* @return string|null
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/EnableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trait EnableTrait
* @var bool
* @ORM\Column(type="boolean")
*/
private $enable = false;
protected $enable = false;

/**
* @return bool
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/IdTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ trait IdTrait
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
protected $id;

/**
* @return mixed
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/ImageAlbumTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trait ImageAlbumTrait
* @var array|null
* @ORM\Column(type="array", nullable=true)
*/
private $imageAlbum;
protected $imageAlbum;

/**
* @return array|null
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/ImageTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trait ImageTrait
* @var string|null
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $image;
protected $image;

/**
* @return string|null
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/PositionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trait PositionTrait
* @var int
* @ORM\Column(type="integer")
*/
private $position = 0;
protected $position = 0;

/**
* @return int|null
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/TitleSlugTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trait TitleSlugTrait
* @ORM\Column(type="string", length=155)
* @Gedmo\Slug(fields={"title"})
*/
private $slug;
protected $slug;

/**
* @return string|null
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/TitleTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trait TitleTrait
* @var string|null
* @ORM\Column(type="string", length=255)
*/
private $title;
protected $title;

/**
* @return string|null
Expand Down

0 comments on commit 15343d0

Please sign in to comment.