diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithTime.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithTime.php index 184a2441ce86..de0cd40c99e5 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithTime.php +++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithTime.php @@ -2,7 +2,6 @@ namespace Illuminate\Foundation\Testing\Concerns; -use DateTimeInterface; use Illuminate\Foundation\Testing\Wormhole; use Illuminate\Support\Carbon; @@ -22,11 +21,11 @@ public function travel($value) /** * Travel to another time. * - * @param \DateTimeInterface $date + * @param \DateTimeInterface|Closure|Carbon|string|false|null $date * @param callable|null $callback * @return mixed */ - public function travelTo(DateTimeInterface $date, $callback = null) + public function travelTo($date, $callback = null) { Carbon::setTestNow($date);