Skip to content

Commit 186e71b

Browse files
committed
Rename httpStatusCodeToString to be camelCase
- So that both definition and use of the function are in the same case
1 parent 41f35f0 commit 186e71b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/Grafana/Helpers/Util.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ public static function getUserThemeMode(User $user): string
3838
}
3939

4040
/**
41-
* httpStatusCodetoString translates a HTTP status code to a readable message
41+
* httpStatusCodeToString translates a HTTP status code to a readable message
4242
*
4343
* @param int $code HTTP status code
4444
* @return string
4545
*/
46-
public static function httpStatusCodetoString(int $code = 0): string
46+
public static function httpStatusCodeToString(int $code = 0): string
4747
{
4848
$statuscodes = [
4949
'100' => 'Continue',

0 commit comments

Comments
 (0)