Skip to content

Commit

Permalink
Add visibility to 3 methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Oct 6, 2017
1 parent f252857 commit 03656fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Drupal/Commands/config/ConfigCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function status($label = null)
* @param string $directory
* A configuration directory.
*/
function getDirectory($label, $directory = null)
public function getDirectory($label, $directory = null)
{
// If the user provided a directory, use it.
if (!empty($directory)) {
Expand All @@ -249,7 +249,7 @@ function getDirectory($label, $directory = null)
/**
* Returns the difference in configuration between active storage and target storage.
*/
function getChanges($target_storage)
public function getChanges($target_storage)
{
/** @var \Drupal\Core\Config\StorageInterface $active_storage */
$active_storage = \Drupal::service('config.storage');
Expand All @@ -268,7 +268,7 @@ function getChanges($target_storage)
/**
* Get storage corresponding to a configuration directory.
*/
function getStorage($directory)
public function getStorage($directory)
{
if ($directory == \config_get_config_directory(CONFIG_SYNC_DIRECTORY)) {
return \Drupal::service('config.storage.sync');
Expand Down

0 comments on commit 03656fe

Please sign in to comment.