Skip to content

Commit

Permalink
fix else if -> elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
yash30201 committed Sep 14, 2023
1 parent 5caf63a commit 9fb009b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetricsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function applyAuthMetricsHeaders(array $headers, string $metricsHeaderToA
{
if ($metricsHeaderToApply == '') {
return $headers;
} else if (isset($headers[self::$metricsHeaderKey])) {
} elseif (isset($headers[self::$metricsHeaderKey])) {
$headers[self::$metricsHeaderKey][0] .= ' ' . $metricsHeaderToApply;
} else {
$headers[self::$metricsHeaderKey] = [$metricsHeaderToApply];
Expand Down

0 comments on commit 9fb009b

Please sign in to comment.