bug #16498 fix unused variable warning (eventhorizonpl)

This PR was squashed before being merged into the 2.8 branch (closes #16498).

Discussion
----------

fix unused variable warning

Hi,

This PR fixes a bug in ClockMock class.

Best regards,
Michal

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

cf28474 fix unused variable warning
This commit is contained in:
Fabien Potencier 2015-11-25 05:20:03 +01:00
commit 3ed092ed80
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class ClockMock
return self::$now;
}
return sprintf("%0.6f %d\n", $now - (int) $now, (int) self::$now);
return sprintf("%0.6f %d\n", self::$now - (int) self::$now, (int) self::$now);
}
public static function register($class)