From 313159a0fcddccbc5774fc4449832f32829ab7d4 Mon Sep 17 00:00:00 2001 From: Mahdi Ziraki Date: Mon, 21 Feb 2022 00:20:27 +0330 Subject: [PATCH] fix format method signature --- src/Traits/Formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/Formatting.php b/src/Traits/Formatting.php index 584f190..33a79bd 100644 --- a/src/Traits/Formatting.php +++ b/src/Traits/Formatting.php @@ -325,7 +325,7 @@ trait Formatting * @param string $format * @return string */ - public function format($format) + public function format(string $format): string { return $this->date($this->strftime($format)); }