From 1b6ed6b9c623e16044a132ace32b7611f6ce73b3 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Mon, 7 Mar 2016 11:37:40 +0000 Subject: [PATCH] Testing pre-commit syntax check --- Classes/PHPExcel/Shared/Date.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/PHPExcel/Shared/Date.php b/Classes/PHPExcel/Shared/Date.php index 278f6ba1b..a99f0706c 100644 --- a/Classes/PHPExcel/Shared/Date.php +++ b/Classes/PHPExcel/Shared/Date.php @@ -188,8 +188,8 @@ public static function PHPToExcel($dateValue = 0, $adjustToTimezone = false, $ti } elseif (is_numeric($dateValue)) { $retValue = self::FormattedPHPToExcel(date('Y', $dateValue), date('m', $dateValue), date('d', $dateValue), date('H', $dateValue), date('i', $dateValue), date('s', $dateValue)); } elseif (is_string($dateValue)) { - $retValue = self::stringToExcel($dateValue); - + $retValue = self::stringToExcel($dateValue) + } date_default_timezone_set($saveTimeZone); return $retValue;