Skip to content

Commit 5ddb121

Browse files
guillaume-anicolas-grekas
authored andcommitted
[Bridge/PhpUnit] Remove trailing "\n" from ClockMock::microtime(false)
1 parent c23adae commit 5ddb121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/ClockMock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function microtime($asFloat = false)
6666
return self::$now;
6767
}
6868

69-
return sprintf("%0.6f %d\n", self::$now - (int) self::$now, (int) self::$now);
69+
return sprintf('%0.6f %d', self::$now - (int) self::$now, (int) self::$now);
7070
}
7171

7272
public static function register($class)

0 commit comments

Comments
 (0)