Skip to content

Commit

Permalink
Merge pull request #15 from seizan8/protected_entity_properties
Browse files Browse the repository at this point in the history
refactor: changed private entity properties to protected
  • Loading branch information
bigboss86 committed Mar 15, 2021
2 parents d3c393d + 5091230 commit 8a32a9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Entity/Article.php
Expand Up @@ -13,14 +13,14 @@
class Article extends BaseArticle implements ArticleInterface
{
/** @var AdminUserInterface|null */
private $author;
protected $author;

/**
* @var Collection|ChannelInterface[]
*
* @psalm-var Collection<array-key, ChannelInterface>
*/
private $channels;
protected $channels;

public function __construct()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/ArticleComment.php
Expand Up @@ -10,7 +10,7 @@
class ArticleComment extends BaseArticleComment implements ArticleCommentInterface
{
/** @var ShopUserInterface|null */
private $author;
protected $author;

/**
* {@inheritdoc}
Expand Down

0 comments on commit 8a32a9e

Please sign in to comment.