Fixing PSR2 standards violations reported by PHP_CodeSniffer

This commit is contained in:
Ben Ramsey
2014-11-08 14:53:12 -05:00
parent cd2d09c356
commit 90fd1531d0
10 changed files with 37 additions and 16 deletions
+7 -4
View File
@@ -45,8 +45,12 @@ class FeatureSet
private $timeProvider;
public function __construct($useGuids = false, $force32Bit = false, $forceNoBigNumber = false, $ignoreSystemNode = false)
{
public function __construct(
$useGuids = false,
$force32Bit = false,
$forceNoBigNumber = false,
$ignoreSystemNode = false
) {
$this->disableBigNumber = $forceNoBigNumber;
$this->disable64Bit = $force32Bit;
$this->ignoreSystemNode = $ignoreSystemNode;
@@ -134,8 +138,7 @@ class FeatureSet
{
if ($this->is64BitSystem()) {
return new PhpTimeConverter();
}
elseif ($this->hasBigNumber()) {
} elseif ($this->hasBigNumber()) {
return new BigNumberTimeConverter();
}