We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f43678 commit 681f2d6Copy full SHA for 681f2d6
system/I18n/TimeTrait.php
@@ -330,9 +330,11 @@ public function toDateTime()
330
* @param DateTimeInterface|self|string|null $datetime
331
* @param DateTimeZone|string|null $timezone
332
*
333
+ * @return void
334
+ *
335
* @throws Exception
336
*/
- public static function setTestNow($datetime = null, $timezone = null, ?string $locale = null): void
337
+ public static function setTestNow($datetime = null, $timezone = null, ?string $locale = null)
338
{
339
// Reset the test instance
340
if ($datetime === null) {
0 commit comments