Skip to content

Commit

Permalink
Merge pull request pear#15 from opi99/master
Browse files Browse the repository at this point in the history
Bug #20025: Use null to differenciate between not set or empty.
  • Loading branch information
mrook committed Aug 1, 2013
2 parents a213342 + 25adec5 commit f6afd4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions VersionControl/SVN/Command.php
Expand Up @@ -168,28 +168,28 @@ abstract class VersionControl_SVN_Command
*
* @var string $username
*/
public $username = '';
public $username = null;

/**
* Default password to use for connections.
*
* @var string $password
*/
public $password = '';
public $password = null;

/**
* Default config-dir to use for connections.
*
* @var string $configDir
*/
public $configDir = '';
public $configDir = null;

/**
* Default config-option to use for connections.
*
* @var string $configOption
*/
public $configOption = '';
public $configOption = null;

/**
* SVN subcommand to run.
Expand Down Expand Up @@ -376,7 +376,7 @@ protected function preProcessSwitches()
protected function fillSwitch($switchName, $value)
{
if (!isset($this->switches[$switchName])
&& '' !== $value
&& null !== $value
) {
$this->switches[$switchName] = $value;
}
Expand Down

0 comments on commit f6afd4b

Please sign in to comment.