From 24ca00a325d7fe774c8e788331712020b48230a0 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sun, 31 Dec 2017 12:55:29 -0600 Subject: [PATCH] formatting --- app/helpers.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/helpers.php b/app/helpers.php index 2d066dcc..bbb3a6be 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -3,8 +3,7 @@ /** * Shortcut for retrieving a setting value */ -if (!function_exists('setting')) -{ +if (!function_exists('setting')) { function setting($key, $value = null) { $settingRepo = app('setting'); // defined in AppServiceProvider @@ -20,8 +19,7 @@ if (!function_exists('setting')) * Wrap the asset URL in the publicBaseUrl that's been * set */ -if (!function_exists('public_asset')) -{ +if (!function_exists('public_asset')) { function public_asset($path, $parameters = [], $secure = null) { $publicBaseUrl = app()->publicUrlPath(); @@ -36,8 +34,7 @@ if (!function_exists('public_asset')) /** * Show a date/time in the proper timezone for a user */ -if(!function_exists('show_datetime')) -{ +if(!function_exists('show_datetime')) { /** * Format the a Carbon date into the datetime string * but convert it into the user's timezone