Skip to content

Commit c085e7a

Browse files
Fix multiple CS errors
1 parent 6cc75e5 commit c085e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: ClockMock.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static function microtime($asFloat = false)
7272
return self::$now;
7373
}
7474

75-
return sprintf('%0.6f00 %d', self::$now - (int) self::$now, (int) self::$now);
75+
return \sprintf('%0.6f00 %d', self::$now - (int) self::$now, (int) self::$now);
7676
}
7777

7878
public static function date($format, $timestamp = null): string
@@ -101,7 +101,7 @@ public static function hrtime($asNumber = false)
101101
$ns = (self::$now - (int) self::$now) * 1000000000;
102102

103103
if ($asNumber) {
104-
$number = sprintf('%d%d', (int) self::$now, $ns);
104+
$number = \sprintf('%d%d', (int) self::$now, $ns);
105105

106106
return \PHP_INT_SIZE === 8 ? (int) $number : (float) $number;
107107
}

0 commit comments

Comments
 (0)