diff --git a/app/Data/EventDataTransformer.php b/app/Data/EventDataTransformer.php index 668fc0dd..094499b5 100644 --- a/app/Data/EventDataTransformer.php +++ b/app/Data/EventDataTransformer.php @@ -13,7 +13,7 @@ // Coerces the config expression into a constant so that it can // be used in attributes. -define('EVENTS_TIMEZONE', config('app.timezone')); +define(__NAMESPACE__ . '\EVENTS_TIMEZONE', config('app.timezone')); class EventDataTransformer extends Data {