Skip to content

Commit

Permalink
More private -> protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Apr 27, 2017
1 parent e733563 commit 9612aa2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions components/lib/Components.php
Expand Up @@ -79,7 +79,7 @@ public static function main(array $parameters = array())
}
}

private static function _prepareModular(
protected static function _prepareModular(
Components_Dependencies $dependencies, array $parameters = array()
) {
$modular = new Horde_Cli_Modular(
Expand Down Expand Up @@ -122,7 +122,7 @@ private static function _prepareModular(
*
* @return Components_Dependencies The dependency handler.
*/
private static function _prepareDependencies($parameters)
protected static function _prepareDependencies($parameters)
{
if (isset($parameters['dependencies'])
&& $parameters['dependencies'] instanceof Components_Dependencies) {
Expand All @@ -132,7 +132,7 @@ private static function _prepareDependencies($parameters)
}
}

private static function _prepareConfig(Horde_Argv_Parser $parser)
protected static function _prepareConfig(Horde_Argv_Parser $parser)
{
$config = new Components_Configs();
$config->addConfigurationType(
Expand All @@ -155,7 +155,7 @@ private static function _prepareConfig(Horde_Argv_Parser $parser)
*
* @return NULL
*/
private static function _getActionArguments(Horde_Cli_Modular $modular)
protected static function _getActionArguments(Horde_Cli_Modular $modular)
{
$actions = array();
foreach ($modular->getModules() as $module) {
Expand All @@ -175,7 +175,7 @@ private static function _getActionArguments(Horde_Cli_Modular $modular)
*
* @return NULL
*/
private static function _identifyComponent(
protected static function _identifyComponent(
Components_Config $config,
$actions,
Components_Dependencies $dependencies
Expand Down
12 changes: 6 additions & 6 deletions components/lib/Components/Helper/Root.php
Expand Up @@ -34,35 +34,35 @@ class Components_Helper_Root
*
* @var string
*/
private $_root_path;
protected $_root_path;

/**
* Path used to determine the root of the Horde repository.
*
* @var string
*/
private $_path;
protected $_path;

/**
* Component used to determine the root of the Horde repository.
*
* @var Components_Component
*/
private $_component;
protected $_component;

/**
* Options used to determine the root of the Horde repository.
*
* @var array
*/
private $_options;
protected $_options;

/**
* Errors that occured while trying to determine the root path.
*
* @var array
*/
private $_errors = array();
protected $_errors = array();

/**
* Constructor.
Expand Down Expand Up @@ -302,4 +302,4 @@ private function _isValidRoot($directory)
}
return false;
}
}
}

0 comments on commit 9612aa2

Please sign in to comment.