From 6958bd175d45a7f83b5132ec76f19bcc3e74844a Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Fri, 1 Oct 2021 19:44:31 +0100 Subject: [PATCH] feat: add missing singular `minute()` call (#39050) --- 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. *