fix format method signature

This commit is contained in:
Mahdi Ziraki committed 2022-02-21 00:20:27 +03:30
1 parent 264b4488a6
commit 313159a0fc
1 file changed
+1 -1
+1 -1
View File
@@ -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));
}