Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
Scrutinizer Auto-Fixer
2015-08-13 15:32:44 +00:00
parent 95d84d3b08
commit f59b447603
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ class StringCodec implements CodecInterface
$nameParsed = implode('-', $components);
if (! Uuid::isValid($nameParsed)) {
if (!Uuid::isValid($nameParsed)) {
throw new InvalidArgumentException('Invalid UUID string: ' . $encodedUuid);
}
+2 -2
View File
@@ -192,7 +192,7 @@ class FeatureSet
*/
protected function hasBigNumber()
{
return class_exists('Moontoast\Math\BigNumber') && ! $this->disableBigNumber;
return class_exists('Moontoast\Math\BigNumber') && !$this->disableBigNumber;
}
/**
@@ -202,6 +202,6 @@ class FeatureSet
*/
protected function is64BitSystem()
{
return PHP_INT_SIZE == 8 && ! $this->disable64Bit;
return PHP_INT_SIZE == 8 && !$this->disable64Bit;
}
}
+1 -1
View File
@@ -89,7 +89,7 @@ class DefaultTimeGenerator implements TimeGeneratorInterface
$node = sprintf('%012x', $node);
}
if (! ctype_xdigit($node) || strlen($node) > 12) {
if (!ctype_xdigit($node) || strlen($node) > 12) {
throw new \InvalidArgumentException('Invalid node value');
}
+1 -1
View File
@@ -22,7 +22,7 @@ class FixedTimeProvider implements TimeProviderInterface
public function __construct(array $timestamp)
{
if (! array_key_exists('sec', $timestamp) || ! array_key_exists('usec', $timestamp)) {
if (!array_key_exists('sec', $timestamp) || !array_key_exists('usec', $timestamp)) {
throw new \InvalidArgumentException('Array must contain sec and usec keys.');
}
+1 -1
View File
@@ -736,7 +736,7 @@ class Uuid implements UuidInterface
*/
public static function getFactory()
{
if (! self::$factory) {
if (!self::$factory) {
self::$factory = new UuidFactory();
}