Skip to content

Commit

Permalink
Set namespace on constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorntonMatthewD committed Nov 14, 2023
1 parent c7c47a1 commit 84f7dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Data/EventDataTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 84f7dd2

Please sign in to comment.