Skip to content

Commit

Permalink
Fix some native constant and function invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Nov 18, 2022
1 parent 099fc6c commit 1bd3b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClockMock.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static function hrtime($asNumber = false)
if ($asNumber) {
$number = sprintf('%d%d', (int) self::$now, $ns);

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

return [(int) self::$now, (int) $ns];
Expand Down

0 comments on commit 1bd3b17

Please sign in to comment.