Skip to content

Commit

Permalink
Merge pull request ongr-archive#31 from martiis/document_visibility
Browse files Browse the repository at this point in the history
changed abstract document visibility to protected
  • Loading branch information
MindaugasR committed Jan 15, 2015
2 parents b021e7c + 1881ce0 commit 50da353
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
22 changes: 11 additions & 11 deletions Document/AbstractCategoryDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,66 +31,66 @@ abstract class AbstractCategoryDocument implements DocumentInterface
*
* @ES\Property(type="string", name="sort")
*/
private $sort;
protected $sort;

/**
* @var bool
*
* @ES\Property(type="boolean", name="is_active")
*/
private $active;
protected $active;

/**
* @var string
*
* @ES\Property(type="string", name="parent_id")
*/
private $parentId;
protected $parentId;

/**
* @var int
*
* @ES\Property(type="integer", name="level")
*/
private $level;
protected $level;

/**
* @var string
*
* @ES\Property(type="string", name="title", index="not_analyzed")
*/
private $title;
protected $title;

/**
* @var bool
*
* @ES\Property(type="boolean", name="is_hidden")
*/
private $hidden;
protected $hidden;

/**
* @var int
*
* @ES\Property(type="integer", name="left")
*/
private $left;
protected $left;

/**
* @var int
*
* @ES\Property(type="integer", name="right")
*/
private $right;
protected $right;

/**
* @var bool
*/
private $expanded;
protected $expanded;

/**
* @var bool
*/
private $current;
protected $current;

/**
* @var array
Expand All @@ -100,7 +100,7 @@ abstract class AbstractCategoryDocument implements DocumentInterface
/**
* @var AbstractCategoryDocument[]|\Iterator
*/
private $children;
protected $children;

/**
* Tests if category has any children.
Expand Down
6 changes: 3 additions & 3 deletions Document/AbstractContentDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ abstract class AbstractContentDocument implements DocumentInterface
*
* @ES\Property(type="string", name="slug", index="not_analyzed")
*/
private $slug;
protected $slug;

/**
* @var string
*
* @ES\Property(type="string", name="title", index="not_analyzed")
*/
private $title;
protected $title;

/**
* @var string
*
* @ES\Property(type="string", name="content")
*/
private $content;
protected $content;

/**
* @return string
Expand Down
10 changes: 5 additions & 5 deletions Document/AbstractProductDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,35 +29,35 @@ abstract class AbstractProductDocument implements DocumentInterface
*
* @ES\Property(type="string", name="title", fields={@ES\MultiField(name="raw", type="string")})
*/
private $title;
protected $title;

/**
* @var string
*
* @ES\Property(type="string", name="description")
*/
private $description;
protected $description;

/**
* @var string
*
* @ES\Property(type="string", name="long_description")
*/
private $longDescription;
protected $longDescription;

/**
* @var string
*
* @ES\Property(type="string", name="sku")
*/
private $sku;
protected $sku;

/**
* @var float
*
* @ES\Property(type="float", name="price")
*/
private $price;
protected $price;

/**
* @return string
Expand Down

0 comments on commit 50da353

Please sign in to comment.