From c56c6afcbca35702471549880e2a6f0d7230dfdb Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Fri, 1 Oct 2021 15:35:28 +0100 Subject: [PATCH] feat: add missing singular `minute()` call --- src/Illuminate/Foundation/Testing/Wormhole.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Illuminate/Foundation/Testing/Wormhole.php b/src/Illuminate/Foundation/Testing/Wormhole.php index 0516162f872e..54fe0fa0bb4c 100644 --- a/src/Illuminate/Foundation/Testing/Wormhole.php +++ b/src/Illuminate/Foundation/Testing/Wormhole.php @@ -72,6 +72,17 @@ public function seconds($callback = null) return $this->handleCallback($callback); } + /** + * Travel forward the given number of minutes. + * + * @param callable|null $callback + * @return mixed + */ + public function minute($callback = null) + { + return $this->minutes($callback); + } + /** * Travel forward the given number of minutes. *