Skip to content

Commit

Permalink
feat(environment): Fixed tab formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
x7airworker committed Aug 1, 2024
1 parent 05b4ec6 commit 5d8ce5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function boot(IBootContext $context): void {
'release' => $config->getServerVersion(),
'traces_sample_rate' => $config->getSamplingRate(),
'profiles_sample_rate' => $config->getProfilesSamplingRate(),
'environment' => $config->getEnvironment(),
'environment' => $config->getEnvironment(),
]);
}
});
Expand Down
6 changes: 3 additions & 3 deletions lib/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function getProfilesSamplingRate(): float {
};
}

public function getEnvironment(): string {
return $this->config->getSystemValue('sentry.environment', 'production');
}
public function getEnvironment(): string {
return $this->config->getSystemValue('sentry.environment', 'production');
}
}

0 comments on commit 5d8ce5a

Please sign in to comment.