Skip to content

Commit

Permalink
Update propterty visibility in child classes of View.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 6, 2018
1 parent 0f15196 commit 450d00b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/View/AjaxView.php
Expand Up @@ -27,10 +27,9 @@ class AjaxView extends View
{

/**
*
* @var string
* {@inheritDoc}
*/
public $layout = 'ajax';
protected $layout = 'ajax';

/**
* Constructor
Expand Down
2 changes: 1 addition & 1 deletion src/View/JsonView.php
Expand Up @@ -61,7 +61,7 @@ class JsonView extends SerializedView
*
* @var string
*/
public $layoutPath = 'json';
protected $layoutPath = 'json';

/**
* JSON views are located in the 'json' sub directory for controllers' views.
Expand Down
2 changes: 1 addition & 1 deletion src/View/XmlView.php
Expand Up @@ -63,7 +63,7 @@ class XmlView extends SerializedView
*
* @var string
*/
public $layoutPath = 'xml';
protected $layoutPath = 'xml';

/**
* XML views are located in the 'xml' sub directory for controllers' views.
Expand Down

0 comments on commit 450d00b

Please sign in to comment.