From d171b6c9da1b3c8a39498759ff52886306293022 Mon Sep 17 00:00:00 2001 From: Rocco Howard Date: Wed, 18 Aug 2021 06:18:02 +0000 Subject: [PATCH] Return empty string not null for format --- src/NullCarbon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NullCarbon.php b/src/NullCarbon.php index 3730050..0e611ac 100755 --- a/src/NullCarbon.php +++ b/src/NullCarbon.php @@ -41,7 +41,7 @@ public function __construct($time = null, $tz = null) */ public function format($format) { - return null; + return ''; } /**