Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #15 from opi99/master

Bug #20025: Use null to differenciate between not set or empty.
  • Loading branch information...
commit f6afd4bc543f462c00f863193af16bb790b298e9 2 parents a213342 + 25adec5
@mrook mrook authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 VersionControl/SVN/Command.php
View
10 VersionControl/SVN/Command.php
@@ -168,28 +168,28 @@
*
* @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.
@@ -376,7 +376,7 @@ protected function preProcessSwitches()
protected function fillSwitch($switchName, $value)
{
if (!isset($this->switches[$switchName])
- && '' !== $value
+ && null !== $value
) {
$this->switches[$switchName] = $value;
}
Please sign in to comment.
Something went wrong with that request. Please try again.