mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user